Skip to content

Commit bb0b3d6

Browse files
authored
Use ARM64 WARP on ARM64 machines (#7862)
It turns out that our build agents report their processor as AMD64, which meant that the previous logic in DownloadWarp.cmake would use the AMD64 version of WARP. This change fixes that.
1 parent a699e7e commit bb0b3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/clang/test/taef_exec/DownloadWarp.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ endif()
7676

7777
set(WARP_DIR ${CMAKE_BINARY_DIR}/nuget/${WARP_PACKAGE})
7878

79-
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ARM64")
79+
if((${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ARM64") OR ("${CMAKE_C_COMPILER_ARCHITECTURE_ID}" STREQUAL "ARM64"))
8080
set(WARP_ARCH "arm64")
8181
elseif ((CMAKE_GENERATOR_PLATFORM STREQUAL "Win32") OR ("${CMAKE_C_COMPILER_ARCHITECTURE_ID}" STREQUAL "X86"))
8282
set(WARP_ARCH "win32")

0 commit comments

Comments
 (0)