When building builtins separately as part of the runtime build, we
also want to include crt. To enable that, move the builtins CMake
build into a separate file: compiler-rt/builtins/CMakeLists.txt,
which includes both builtins and crt.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I assume that builtins and crt would be eventually moved to their own top-level directory (e.g. builtins or just compiler-rt) separate from sanitizers at which point this new CMakeLists.txt would become the root of that directory.
Comment Actions
If I read this correctly, this would break existing setups that build builtins only, by pointing cmake to compiler-rt/lib/builtins? Is it possible to handle the transition more gracefully?
compiler-rt/builtins/CMakeLists.txt | ||
---|---|---|
6 | Minor nit: The version bump to 3.13.4 should be reflected here too. |
Comment Actions
Just a note on status: This patch is potentially being replaced by https://reviews.llvm.org/D89492
Minor nit: The version bump to 3.13.4 should be reflected here too.