Skip to content

Commit 704dddc

Browse files
kanglanttensorflower-gardener
authored andcommittedJun 15, 2023
Remove lld to fix GCS build breakage due to ld not found.
PiperOrigin-RevId: 540441442
1 parent 76f4e0a commit 704dddc

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed
 

‎.bazelrc

-2
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,6 @@ build:cuda --@local_config_cuda//:enable_cuda
265265
build:cuda_clang --config=cuda
266266
build:cuda_clang --repo_env TF_CUDA_CLANG=1
267267
build:cuda_clang --@local_config_cuda//:cuda_compiler=clang
268-
build:cuda_clang --linkopt="-fuse-ld=lld"
269-
build:cuda_clang --linkopt="-lm"
270268

271269
# Debug config
272270
build:dbg -c dbg

‎configure.py

-2
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,6 @@ def set_clang_compiler_path(environ_cp):
841841
write_action_env_to_bazelrc('CLANG_COMPILER_PATH', clang_compiler_path)
842842
write_to_bazelrc('build --repo_env=CC=%s' % clang_compiler_path)
843843
write_to_bazelrc('build --repo_env=BAZEL_COMPILER=%s' % clang_compiler_path)
844-
write_to_bazelrc('build --linkopt="-fuse-ld=lld"')
845-
write_to_bazelrc('build --linkopt="-lm"')
846844

847845
return clang_compiler_path
848846

0 commit comments

Comments
 (0)