Skip to content

Commit

Permalink
ENH: Download x86 clangformat on Darwin arm64
Browse files Browse the repository at this point in the history
Rosette 2 can be installed on OSX to enable emulation so that x86
executables can be run.
  • Loading branch information
blowekamp authored and thewtex committed Nov 13, 2024
1 parent fdadedc commit ee6bc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/ClangFormat/DownloadClangFormat.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux" AND CMAKE_HOST_SYSTEM_PROCESSOR STREQU
set(_clang_format_url "https://data.kitware.com/api/v1/file/hashsum/sha512/${_clang_format_hash}/download")
elseif(
CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin"
AND CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64"
AND ( CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64" )
AND (NOT
CMAKE_HOST_SYSTEM_VERSION
VERSION_LESS
Expand Down

0 comments on commit ee6bc26

Please sign in to comment.