We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a7c28b commit f2110bfCopy full SHA for f2110bf
lib/xla.ex
@@ -342,6 +342,9 @@ defmodule XLA do
342
end
343
344
bazel_build_flags_shared = [
345
+ # Always use Clang
346
+ "--repo_env=CC=clang",
347
+ "--repo_env=CXX=clang++",
348
# See https://github.com/tensorflow/tensorflow/issues/62459#issuecomment-2043942557
349
"--copt=-Wno-error=unused-command-line-argument",
350
# See https://github.com/jax-ml/jax/blob/0842cc6f386a20aa20ed20691fb78a43f6c4a307/.bazelrc#L127-L138
0 commit comments