[all-commits] [llvm/llvm-project] ba2dc2: [compiler-rt] Don't check COMPILER_RT_STANDALONE_B...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon Mar 18 16:48:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba2dc2953cdaaad63968296e3cbb1f06c1784114
      https://github.com/llvm/llvm-project/commit/ba2dc2953cdaaad63968296e3cbb1f06c1784114
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/CompilerRTCompile.cmake
    M compiler-rt/lib/msan/tests/CMakeLists.txt
    M compiler-rt/test/asan_abi/CMakeLists.txt
    M compiler-rt/test/fuzzer/CMakeLists.txt
    M compiler-rt/test/memprof/CMakeLists.txt
    M compiler-rt/test/msan/CMakeLists.txt
    M compiler-rt/test/ubsan/CMakeLists.txt
    M compiler-rt/test/xray/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] Don't check COMPILER_RT_STANDALONE_BUILD for test deps

With https://github.com/llvm/llvm-project/pull/83088, we now need the
runtimes to be built before running test if
COMPILER_RT_TEST_STANDALONE_BUILD_LIBS is true, since otherwise we
get failures running `ninja check-all` such as the following:
```
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.fuzzer-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-basic-x86_64.a: No such file or directory
/usr/bin/ld: cannot find .../compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.xray-fdr-x86_64.a: No such file or directory
```

This is a follow-up to 058e9b03 which started removing these checks
and it should make it easier to stop forcing COMPILER_RT_STANDALONE_BUILD
for runtimes builds in the future.

Reviewed By: vitalybuka

Pull Request: https://github.com/llvm/llvm-project/pull/83651



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list