Skip to content

Commit

Permalink
Keep using our toolchain for cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Dec 18, 2024
1 parent 73b2fe3 commit 94933c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ if [[ "${target_platform}" == linux-* ]]; then
sed -i '/Qunused-arguments/d' .bazelrc
# Don't override our toolchain for CUDA
sed -i '/TF_NVCC_CLANG/{N;d}' .bazelrc
# Keep using our toolchain
sed -i '/--crosstool_top=@local_config_cuda/d' .bazelrc
fi

${PYTHON} build/build.py build \
--target_cpu_features default \
${EXTRA}
Expand Down

0 comments on commit 94933c5

Please sign in to comment.