File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,17 @@ build --copt=-fexceptions
53
53
# safer than o+rx.
54
54
build --spawn_strategy=sandboxed
55
55
56
- # Use GCC for C/C++ compilation.
57
- build --action_env=CC=gcc
58
- build --action_env=CXX=g++
56
+ # By default, use Clang for C/C++ compilation.
57
+ build --action_env=CC=/usr/bin/clang-17
58
+ build --action_env=CXX=/usr/bin/clang++-17
59
59
60
60
###########################################################################
61
61
62
- build:clang --action_env=CC=/usr/bin/clang-17
63
- build:clang --action_env=CXX=/usr/bin/clang++-17
62
+ # Use GCC for C/C++ compilation. By default, PyTorch/XLA continuous build
63
+ # uses Clang. This option is useful for debugging, e.g. when we suspect
64
+ # that the Clang set-up is buggy.
65
+ build:gcc --action_env=CC=gcc
66
+ build:gcc --action_env=CXX=g++
64
67
65
68
###########################################################################
66
69
You can’t perform that action at this time.
0 commit comments