PR #33008: [ROCm] Add CI specific bazelrc file

Imported from GitHub PR https://github.com/openxla/xla/pull/33008

📝 Summary of Changes
Add CI-specific bazelrc that will import both `rocm.bazelrc` from `/usertools` and `rocm_xla.bazelrc`

🎯 Justification
Temporary workaround until split logic in CI (which relies on `/usertools/rocm.bazelrc`) is removed

Copybara import of the project:

--
bb4cbf0c4fbf2c171110040c5c1470bddced203b by Milica Makevic <Milica.Makevic@amd.com>:

Add CI specific bazelrc

Merging this change closes #33008

PiperOrigin-RevId: 822700005
This commit is contained in:
mmakevic-amd 2025-10-22 12:43:11 -07:00 committed by TensorFlower Gardener
parent 4d53eda2fe
commit a5524d43e6
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
# CI related imports
try-import /usertools/rocm.bazelrc
try-import %workspace%/build_tools/rocm/rocm_xla.bazelrc

View File

@ -26,7 +26,7 @@ if [ ! -d /tf/pkg ]; then
fi
SCRIPT_DIR=$(dirname $0)
bazel --bazelrc="$SCRIPT_DIR/rocm_xla.bazelrc" test \
bazel --bazelrc="$SCRIPT_DIR/rocm_xla_ci.bazelrc" test \
"$@" \
--build_tag_filters=$TAG_FILTERS \
--test_tag_filters=$TAG_FILTERS \