-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make tensorflow buildable from tensorboard plugin package
PiperOrigin-RevId: 699283073
- Loading branch information
1 parent
845c27a
commit 884d00d
Showing
4 changed files
with
114 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# bazel configurations for tensorboard plugin build. | ||
build --repo_env=CC="/usr/bin/clang" | ||
build --repo_env=TF_PYTHON_VERSION=3.10 | ||
build --experimental_repo_remote_exec | ||
build --cxxopt=-std=c++17 | ||
build --host_cxxopt=-std=c++17 | ||
build --copt=-Wno-gnu-offsetof-extensions | ||
build --copt=-Wno-error=array-parameter | ||
build --copt=-Wno-error=unused-command-line-argument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/tensorflow/tools/toolchains/python/python_repo.bzl b/tensorflow/tools/toolchains/python/python_repo.bzl | ||
index 47fe64d7b7b..a01a1f19c8b 100644 | ||
--- a/tensorflow/tools/toolchains/python/python_repo.bzl | ||
+++ b/tensorflow/tools/toolchains/python/python_repo.bzl | ||
@@ -21,6 +21,7 @@ TF_PYTHON_VERSION = "{}" | ||
HERMETIC_PYTHON_VERSION = "{}" | ||
WHEEL_NAME = "{}" | ||
WHEEL_COLLAB = "{}" | ||
+USE_PYWRAP_RULES = "False" | ||
""" | ||
|
||
def _python_repository_impl(repository_ctx): |