[compiler-rt] [compiler-rt][test] Disable lld tests on SPARC (PR #100533)
Rainer Orth via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 01:45:40 PDT 2024
rorth wrote:
There's something weird going on here: the tests in question are guarded
with `lld-available`, which is ultimately set from
`COMPILER_RT_HAS_LLD_PYBOOL`. The latter (or `COMPILER_RT_HAS_LLD`
actually) is set in `compiler-rt/CMakeLists.txt`. The code block in
question is only entered because `LINKER_IS_LLD` is `TRUE`, although I have
no idea where this is set. However, that's wrong because `clang` uses
`ld.bfd` instead. The next snippet is totally weird: the reference to
`.../tools/lld` probably dates before the monorepo and can go. The next
one, checking for `.../lld` in the source tree, is equally spurious: in the
monorepo, that directory will always exist. I can make absolutely no sense
of all this.
https://github.com/llvm/llvm-project/pull/100533
More information about the llvm-commits
mailing list