File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,18 @@ set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR YES CACHE BOOL "")
2828set (LLVM_ENABLE_PYTHON YES CACHE BOOL "" )
2929set (LLVM_RUNTIME_TARGETS
3030 x86_64-unknown-windows-msvc
31+ aarch64-unknown-windows-msvc
3132 CACHE STRING "" )
3233foreach (target ${LLVM_RUNTIME_TARGETS} )
3334 set (RUNTIMES_${target} _LLVM_ENABLE_RUNTIMES
3435 compiler-rt
3536 CACHE STRING "" )
3637 set (RUNTIMES_${target} _CMAKE_MT mt CACHE STRING "" )
37- set (RUNTIMES_${target} _CMAKE_SYSTEM_NAME Windows CACHE STRING "" )
38+ if (${target} MATCHES windows-msvc )
39+ set (RUNTIMES_${target} _CMAKE_SYSTEM_NAME Windows CACHE STRING "" )
40+ endif ()
3841 set (RUNTIMES_${target} _CMAKE_BUILD_TYPE Release CACHE STRING "" )
42+ set (RUNTIMES_${target} _COMPILER_RT_BUILD_BUILTINS YES CACHE BOOL "" )
3943 set (RUNTIMES_${target} _COMPILER_RT_BUILD_CRT NO CACHE BOOL "" )
4044 set (RUNTIMES_${target} _COMPILER_RT_BUILD_LIBFUZZER NO CACHE BOOL "" )
4145 set (RUNTIMES_${target} _COMPILER_RT_BUILD_ORC NO CACHE BOOL "" )
You can’t perform that action at this time.
0 commit comments