compiler-rt needs to use standalone build because of the assumptions
made by its build, but other runtimes can use non-standalone build.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This LGTM except for the comment nitpick, but honestly I'm not entirely sure how to test this. Do you know if the current pre-merge checks run the runtimes build?
runtimes/CMakeLists.txt | ||
---|---|---|
113 | I think the sentence isn't finished? |
AFAIK no, I'm testing this locally for now. The only builder that uses the runtimes build is the Fuchsia (post-submit) one but it's offline right now as we're upgrading the OS. I can hold-off submitting this until they're back online. We also have our downstream builders that use runtimes build which would catch any potential issues.
This seems to be working for me locally so I'd prefer to land this as is (and roll back in case of a downstream issues).
Hi,
I believe this commit is causing failures on the following PowerPC buildbots:
https://lab.llvm.org/buildbot/#/builders/19/builds/2678
https://lab.llvm.org/buildbot/#/builders/18/builds/868
An example of the errors I am seeing:
CMake Error at /home/buildbots/ppc64be-sanitizer/sanitizer-ppc64be/build/llvm-project/libcxx/benchmarks/CMakeLists.txt:198 (include): include could not find load file: AddLLVM CMake Error at /home/buildbots/ppc64be-sanitizer/sanitizer-ppc64be/build/llvm-project/libcxx/benchmarks/CMakeLists.txt:204 (configure_lit_site_cfg): Unknown CMake command "configure_lit_site_cfg". [ 28%] Building IntrinsicsVE.h... -- Configuring incomplete, errors occurred! See also "/home/buildbots/ppc64be-sanitizer/sanitizer-ppc64be/build/clang_build/projects/compiler-rt/lib/tsan/libcxx_tsan_powerpc64-bins/CMakeFiles/CMakeOutput.log". See also "/home/buildbots/ppc64be-sanitizer/sanitizer-ppc64be/build/clang_build/projects/compiler-rt/lib/tsan/libcxx_tsan_powerpc64-bins/CMakeFiles/CMakeError.log". make[3]: *** [projects/compiler-rt/lib/tsan/CMakeFiles/libcxx_tsan_powerpc64-build.dir/build.make:87: projects/compiler-rt/lib/tsan/libcxx_tsan_powerpc64-stamps/libcxx_tsan_powerpc64-configure] Error 1 make[2]: *** [CMakeFiles/Makefile2:35496: projects/compiler-rt/lib/tsan/CMakeFiles/libcxx_tsan_powerpc64-build.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 28%] Built target ClangARMMveBuiltinCG [ 30%] Built target LLVMMC [ 30%] Built target ClangDriverOptions [ 30%] Built target ClangARMSveSemaRangeChecks [ 30%] Built target ClangARMSveBuiltins [ 30%] Built target ClangARMSveBuiltinCG [ 30%] Built target intrinsics_gen [ 36%] Built target clang-resource-headers make[1]: *** [CMakeFiles/Makefile2:37499: projects/compiler-rt/test/tsan/CMakeFiles/check-tsan.dir/rule] Error 2 make: *** [Makefile:10086: check-tsan] Error 2
Do you by any chance have an idea of a solution for this? Otherwise, would it be possible to pull this patch?
I believe I had to force a clean build.
I was able to get a successful build on the sanitizer-ppc64le-linux bot: https://lab.llvm.org/buildbot/#/builders/19/builds/2713
Great, thank you for looking into it. I tried to reproduce it locally but unsuccessfully, it sounds like it was just a stale build state.
I think the sentence isn't finished?