Skip to content

Commit eabbd2e

Browse files
committed
Use Clang when building JAX via build/build.py
Previously the CC=clang CXX=clang++ variables had no effect and we were building using GCC. Now that build/build.py has a supported `use_clang` flag, use that instead.
1 parent bbdf7d0 commit eabbd2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .github/container/build-jax.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ pushd $SRC_PATH_JAX
277277
# Delete old wheel if one already exist.
278278
rm -rf dist/j*.whl
279279

280-
time CC=clang CXX=clang++ python build/build.py \
280+
time python build/build.py \
281+
--use_clang \
281282
--enable_cuda \
282283
--cuda_path=$TF_CUDA_PATHS \
283284
--cudnn_path=$TF_CUDNN_PATHS \

0 commit comments

Comments
 (0)