Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move XLA specific bits out of TensorFlow's bazelrc #21575

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ build --define=xnn_enable_avxvnniint8=false

# Load the TensorFlow bazelrc
import %workspace%/tensorflow.bazelrc
import %workspace%/warnings.bazelrc

try-import %workspace%/xla_configure.bazelrc
4 changes: 0 additions & 4 deletions tensorflow.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ build:elinux_armhf --copt -mfp16-format=ieee

# Load rc file written by ./configure.
try-import %workspace%/.tf_configure.bazelrc
try-import %workspace%/xla_configure.bazelrc

# Load rc file with user-specific options.
try-import %workspace%/.bazelrc.user
Expand Down Expand Up @@ -917,6 +916,3 @@ build:rbe_cross_compile_macos_x86 --jobs=100
test:rbe_cross_compile_macos_x86 --jobs=100
# END MACOS CROSS-COMPILE CONFIGS
# END CROSS-COMPILE CONFIGS

# Try to load the XLA warnings config if available
try-import %workspace%/warnings.bazelrc
4 changes: 0 additions & 4 deletions third_party/tsl/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ build:elinux_armhf --copt -mfp16-format=ieee

# Load rc file written by ./configure.
try-import %workspace%/.tf_configure.bazelrc
try-import %workspace%/xla_configure.bazelrc

# Load rc file with user-specific options.
try-import %workspace%/.bazelrc.user
Expand Down Expand Up @@ -917,6 +916,3 @@ build:rbe_cross_compile_macos_x86 --jobs=100
test:rbe_cross_compile_macos_x86 --jobs=100
# END MACOS CROSS-COMPILE CONFIGS
# END CROSS-COMPILE CONFIGS

# Try to load the XLA warnings config if available
try-import %workspace%/warnings.bazelrc