File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,10 @@ else()
128
128
endif ()
129
129
endif ()
130
130
131
+ # Defines LIBC_TARGET_ARCHITECTURE and associated macros.
132
+ set (LIBC_TARGET_TRIPLE "" CACHE STRING "The target triple for the libc build." )
133
+ include (LLVMLibCArchitectures)
134
+
131
135
# Some targets can only support the full build.
132
136
set (default_to_full_build OFF )
133
137
if (LIBC_TARGET_OS_IS_GPU)
@@ -138,16 +142,11 @@ option(LLVM_LIBC_FULL_BUILD "Build and test LLVM libc as if it is the full libc"
138
142
option (LLVM_LIBC_IMPLEMENTATION_DEFINED_TEST_BEHAVIOR "Build LLVM libc tests assuming our implementation-defined behavior" ON )
139
143
option (LLVM_LIBC_ENABLE_LINTING "Enables linting of libc source files" OFF )
140
144
141
- set (LIBC_TARGET_TRIPLE "" CACHE STRING "The target triple for the libc build." )
142
-
143
145
option (LIBC_CONFIG_PATH "The path to user provided folder that configures the build for the target system." OFF )
144
146
145
147
set (LIBC_ENABLE_UNITTESTS ON )
146
148
set (LIBC_ENABLE_HERMETIC_TESTS ${LLVM_LIBC_FULL_BUILD} )
147
149
148
- # Defines LIBC_TARGET_ARCHITECTURE and associated macros.
149
- include (LLVMLibCArchitectures)
150
-
151
150
set (LIBC_CONFIG_JSON_FILE_LIST "" )
152
151
153
152
if (NOT LIBC_CONFIG_PATH)
You can’t perform that action at this time.
0 commit comments