Skip to content

Commit

Permalink
compute_library: set openmp runtime off by default
Browse files Browse the repository at this point in the history
  • Loading branch information
snadampal committed Sep 28, 2024
1 parent 854abba commit 28d00c0
Show file tree
Hide file tree
Showing 2 changed files with 17 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

1 change: 1 addition & 0 deletions third_party/tsl/workspace2.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def _tf_repositories():
patch_file = [
"//third_party/compute_library:compute_library.patch",
"//third_party/compute_library:acl_thread_local_scheduler.patch",
"//third_party/compute_library:set_openmp_runtime_off_by_default.patch",
],
sha256 = "c4ca329a78da380163b2d86e91ba728349b6f0ee97d66e260a694ef37f0b0d93",
strip_prefix = "ComputeLibrary-23.05.1",
Expand Down

0 comments on commit 28d00c0

Please sign in to comment.