[PATCH] D132438: [runtimes] Use a response file for runtimes test suites

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 20:33:20 PDT 2022


aeubanks added a comment.

In D132438#3859300 <https://reviews.llvm.org/D132438#3859300>, @phosek wrote:

> In D132438#3859050 <https://reviews.llvm.org/D132438#3859050>, @aeubanks wrote:
>
>> I'm also seeing the missing tsan library when directly running `ninja check-runtimes`, not sure where the missing dependency is
>
> What's your build configuration? I'd like to try and reproduce this locally.

nothing fancy

  $ cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PROJECTS='clang;lld' -DLLVM_ENABLE_RUNTIMES=compiler-rt '-DLLVM_TARGETS_TO_BUILD=X86' -DLLVM_ENABLE_LLD=ON  ../../llvm
  # plus the specific C/C++ compiler and a compiler launcher that shouldn't matter
  $ ninja check-runtimes
  [553/854] Generating TsanRtlTest-x86_64-Test
  FAILED: compiler-rt/lib/tsan/tests/rtl/TsanRtlTest-x86_64-Test /usr/local/google/home/aeubanks/repos/llvm-project2/build/cmake/runtimes/runtimes-bins/compiler-rt/lib/tsan/tests/rtl/TsanRtlTest-x86_64-Test 
  cd /usr/local/google/home/aeubanks/repos/llvm-project2/build/cmake/runtimes/runtimes-bins/compiler-rt/lib/tsan/tests/rtl && /usr/local/google/home/aeubanks/repos/llvm-project2/build/cmake/./bin/clang++ TsanUnitTestsObjects.tsan_bench.cpp.x86_64.o TsanUnitTestsObjects.tsan_mop.cpp.x86_64.o TsanUnitTestsObjects.tsan_mutex.cpp.x86_64.o TsanUnitTestsObjects.tsan_posix.cpp.x86_64.o TsanUnitTestsObjects.tsan_string.cpp.x86_64.o TsanUnitTestsObjects.tsan_test.cpp.x86_64.o TsanUnitTestsObjects.tsan_thread.cpp.x86_64.o TsanUnitTestsObjects.tsan_test_util_posix.cpp.x86_64.o TsanUnitTestsObjects.gtest-all.cc.x86_64.o -o /usr/local/google/home/aeubanks/repos/llvm-project2/build/cmake/runtimes/runtimes-bins/compiler-rt/lib/tsan/tests/rtl/./TsanRtlTest-x86_64-Test -fuse-ld=lld -Wl,--color-diagnostics -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -lstdc++ -fsanitize=thread -lm -m64
  ld.lld: error: cannot open /usr/local/google/home/aeubanks/repos/llvm-project2/build/cmake/lib/clang/16.0.0/lib/linux/libclang_rt.tsan-x86_64.a: No such file or directory
  ld.lld: error: cannot open /usr/local/google/home/aeubanks/repos/llvm-project2/build/cmake/lib/clang/16.0.0/lib/linux/libclang_rt.tsan_cxx-x86_64.a: No such file or directory


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132438/new/

https://reviews.llvm.org/D132438



More information about the llvm-commits mailing list