@@ -55,7 +55,7 @@ set(LLVM_RELEASE_ENABLE_PROJECTS ${DEFAULT_PROJECTS} CACHE STRING "")
5555# link with system libc++ which can cause some incompatibilities.
5656# See https://github.com/llvm/llvm-project/issues/77653
5757# Because of these problems, this option will default to OFF.
58- set (LLVM_RELEASE_LINK_LOCAL_RUNTIMES OFF CACHE BOOL "" )
58+ set (LLVM_RELEASE_ENABLE_LINK_LOCAL_RUNTIMES OFF CACHE BOOL "" )
5959
6060# Note we don't need to add install here, since it is one of the pre-defined
6161# steps.
@@ -71,7 +71,7 @@ set(STAGE1_PROJECTS "clang")
7171# Need to build compiler-rt in order to use PGO for later stages.
7272set (STAGE1_RUNTIMES "compiler-rt" )
7373# Build all runtimes so we can statically link them into the stage2 compiler.
74- if (LLVM_RELEASE_LINK_LOCAL_RUNTIMES )
74+ if (LLVM_RELEASE_ENABLE_LINK_LOCAL_RUNTIMES )
7575 list (APPEND STAGE1_RUNTIMES "libcxx;libcxxabi;libunwind" )
7676endif ()
7777
@@ -135,7 +135,7 @@ set_instrument_and_final_stage_var(LLVM_ENABLE_LTO "${LLVM_RELEASE_ENABLE_LTO}"
135135if (LLVM_RELEASE_ENABLE_LTO)
136136 set_instrument_and_final_stage_var(LLVM_ENABLE_LLD "ON" BOOL )
137137endif ()
138- if (LLVM_RELEASE_LINK_LOCAL_RUNTIMES )
138+ if (LLVM_RELEASE_ENABLE_LINK_LOCAL_RUNTIMES )
139139 set_instrument_and_final_stage_var(LLVM_ENABLE_LIBCXX "ON" BOOL )
140140 set_instrument_and_final_stage_var(LLVM_STATIC_LINK_CXX_STDLIB "ON" BOOL )
141141 set (RELEASE_LINKER_FLAGS "-rtlib=compiler-rt --unwindlib=libunwind" )
0 commit comments