Skip to content

Commit f2110bf

Browse files
committed
Up
1 parent 9a7c28b commit f2110bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/xla.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ defmodule XLA do
342342
end
343343

344344
bazel_build_flags_shared = [
345+
# Always use Clang
346+
"--repo_env=CC=clang",
347+
"--repo_env=CXX=clang++",
345348
# See https://github.com/tensorflow/tensorflow/issues/62459#issuecomment-2043942557
346349
"--copt=-Wno-error=unused-command-line-argument",
347350
# See https://github.com/jax-ml/jax/blob/0842cc6f386a20aa20ed20691fb78a43f6c4a307/.bazelrc#L127-L138

0 commit comments

Comments
 (0)