Skip to content

Commit

Permalink
PR #76831: aarch64: set compute library openmp runtime to off by default
Browse files Browse the repository at this point in the history
Imported from GitHub PR tensorflow/tensorflow#76831

since the official wheel binary is using Eigen thread pool runtime, there is no dependency on OpenMP. However, having openmp ON by default in compute library bazel config causing an unnecessary dependency on `libgomp/libomp`  for aarch64 linux wheel. This PR is to remove the dependency.
Copybara import of the project:

--
b3c62ba5777fb192ca612bca8c20fff9797f99b9 by Sunita Nadampalli <[email protected]>:

aarch64: set compute library openmp runtime to off by default

Merging this change closes #76831

PiperOrigin-RevId: 682279509
  • Loading branch information
snadampal authored and copybara-github committed Oct 4, 2024
1 parent 6d708fd commit 93b7fc6
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/BUILD.bazel b/BUILD.bazel
index f1766d9582..849a991cea 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -56,7 +56,7 @@ bool_flag(

bool_flag(
name = "openmp",
- build_setting_default = True,
+ build_setting_default = False,
visibility = ["//visibility:public"],
)

--
2.34.1

0 comments on commit 93b7fc6

Please sign in to comment.