You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixup! [ATFE] Add controls for layered runtime payloads
Rename ENABLE_LLVM_LIBC_MINOR_VARIANT to ENABLE_LLVMLIBC_MINOR_VARIANT
and LLVM_LIBC_SUBARCHIVE_NAME to LLVMLIBC_SUBARCHIVE_NAME to consistent
with the naming patterns used in the ATFE.
set(ENABLE_LLVM_LIBC_MINOR_VARIANT${ENABLE_LLVM_LIBC_MINOR_VARIANT_def}CACHEBOOL"Install only the llvm-libc minor variant payload for this variant.")
110
-
set(LLVM_LIBC_SUBARCHIVE_NAME${LLVM_LIBC_SUBARCHIVE_NAME_def}CACHESTRING"llvm-libc subarchive to install when ENABLE_LLVM_LIBC_MINOR_VARIANT is enabled.")
109
+
set(ENABLE_LLVMLIBC_MINOR_VARIANT${ENABLE_LLVMLIBC_MINOR_VARIANT_def}CACHEBOOL"Install only the llvm-libc minor variant payload for this variant.")
110
+
set(LLVMLIBC_SUBARCHIVE_NAME${LLVMLIBC_SUBARCHIVE_NAME_def}CACHESTRING"llvm-libc subarchive to install when ENABLE_LLVMLIBC_MINOR_VARIANT is enabled.")
111
111
set(ENABLE_LLVMLIBC_CORE_LIBS ${ENABLE_LLVMLIBC_CORE_LIBS_def}CACHEBOOL"Build and install the core llvm-libc library archives.")
112
112
set(ENABLE_LLVMLIBC_SUPPORT_LIBS ${ENABLE_LLVMLIBC_SUPPORT_LIBS_def}CACHEBOOL"Build and install llvmlibc support libraries such as crt0 and semihost.")
113
113
set(LLVM_BINARY_DIR""CACHEPATH"Path to LLVM toolchain root to build libraries with")
@@ -166,12 +166,12 @@ endif()
166
166
# Some llvm-libc variants are packaged as minor layers. The subprojects
167
167
# are still built as normal, but the installed payload is restricted to
168
168
# the files that differ from the base layer.
169
-
if(ENABLE_LLVM_LIBC_MINOR_VARIANT)
169
+
if(ENABLE_LLVMLIBC_MINOR_VARIANT)
170
170
if(NOT C_LIBRARY STREQUAL llvmlibc)
171
-
message(FATAL_ERROR"ENABLE_LLVM_LIBC_MINOR_VARIANT is only supported with C_LIBRARY=llvmlibc.")
171
+
message(FATAL_ERROR"ENABLE_LLVMLIBC_MINOR_VARIANT is only supported with C_LIBRARY=llvmlibc.")
172
172
endif()
173
-
if(NOTLLVM_LIBC_SUBARCHIVE_NAME)
174
-
message(FATAL_ERROR"ENABLE_LLVM_LIBC_MINOR_VARIANT requires LLVM_LIBC_SUBARCHIVE_NAME to be set.")
173
+
if(NOTLLVMLIBC_SUBARCHIVE_NAME)
174
+
message(FATAL_ERROR"ENABLE_LLVMLIBC_MINOR_VARIANT requires LLVMLIBC_SUBARCHIVE_NAME to be set.")
0 commit comments