These targets strip during installation, and are required to support
install-distribution-stripped in LLVM (to support a stripped
distribution). LLVM has an add_llvm_install_targets function for this
purpose, but we can't rely on LLVM being present.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 12652 Build 12652: arc lint + arc unit
Event Timeline
Comment Actions
This change isn't safe. Compiler-RT is buildable without LLVM's modules as long as you disable the tests, so you can't use an AddLLVM function inside AddCompilerRT unless it is only used when tests are disabled.
Comment Actions
Ah, that's a bummer.
compiler-rt's CMakeLists has this big shiny comment up top:
# This build assumes that CompilerRT is checked out into the # 'projects/compiler-rt' or 'runtimes/compiler-rt' inside of an LLVM tree. # Standalone build system for CompilerRT is not yet ready.
I assume that's out of date then?
Comment Actions
Yes, that comment is very out of date. The compiler-rt standalone build is essential to many of the users. It is quite common to build and use compiler-rt without LLVM (like sanitizer support in gcc).