We want to be able to run the compiler-rt tests on stage2 build configurations in CI. This should enable that.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274031
91177308-0d34-0410-b5e6-
96231b3b80d8
# Make unit tests (if present) part of the ALL target
set(LLVM_BUILD_TESTS ON CACHE BOOL "")
-# Don't build or run the compiler-rt tests
-set(COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "")
set(LLVM_ENABLE_LTO ON CACHE BOOL "")
set(CMAKE_C_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "")