Remove lld to fix GCS build breakage due to ld not found.

PiperOrigin-RevId: 540441442
This commit is contained in:
Kanglan Tang 2023-06-14 18:50:52 -07:00 committed by TensorFlower Gardener
parent 76f4e0a8f9
commit 704dddce91
2 changed files with 0 additions and 4 deletions

View File

@ -265,8 +265,6 @@ build:cuda --@local_config_cuda//:enable_cuda
build:cuda_clang --config=cuda
build:cuda_clang --repo_env TF_CUDA_CLANG=1
build:cuda_clang --@local_config_cuda//:cuda_compiler=clang
build:cuda_clang --linkopt="-fuse-ld=lld"
build:cuda_clang --linkopt="-lm"
# Debug config
build:dbg -c dbg

View File

@ -841,8 +841,6 @@ def set_clang_compiler_path(environ_cp):
write_action_env_to_bazelrc('CLANG_COMPILER_PATH', clang_compiler_path)
write_to_bazelrc('build --repo_env=CC=%s' % clang_compiler_path)
write_to_bazelrc('build --repo_env=BAZEL_COMPILER=%s' % clang_compiler_path)
write_to_bazelrc('build --linkopt="-fuse-ld=lld"')
write_to_bazelrc('build --linkopt="-lm"')
return clang_compiler_path