Skip to content

Commit 43a53e2

Browse files
yuriivcsGoogle-ML-Automation
authored andcommitted
Use a local clang config for TSAN builds
Update the TSAN GitHub workflow to use `rbe_linux_x86_64_clang_local`, which ensures clang-based builds run locally, as required for ThreadSanitizer. PiperOrigin-RevId: 864992841
1 parent 540df65 commit 43a53e2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.bazelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ common:rbe_linux_x86_64_base --platforms="@ml_build_config_platform//:platform"
429429
common:rbe_linux_x86_64 --config=rbe_linux_x86_64_base
430430
common:rbe_linux_x86_64 --config=ci_linux_x86_64
431431

432+
common:rbe_linux_x86_64_clang_local --config=ci_linux_x86_64_clang_local
433+
432434
common:rbe_linux_x86_64_cuda_common --config=rbe_linux_x86_64_base
433435
common:rbe_linux_x86_64_cuda_common --config=rbe_gpu_pool
434436
# Update UMD version when RBE CUDA driver is updated.

.github/workflows/tsan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ jobs:
276276
--@rules_python//python/config_settings:py_freethreaded="yes" \
277277
--test_output=errors \
278278
--test_timeout=1800 \
279-
--config=rbe_linux_x86_64 \
280279
--test_tag_filters=-notsan \
280+
--config=rbe_linux_x86_64 \
281281
--run_under=//tests/config:oss_tsan_wrapper_sh \
282282
//tests:cpu_tests

0 commit comments

Comments
 (0)