Skip to content

Commit

Permalink
jacobdufault#880 - Add support to build on arm.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaarrot committed Sep 6, 2019
1 parent 70c755b commit bd2bbdc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bd962b32818f8b07ae60e708f736eca5cd856f0d34ed9d1038cc9e0991390217
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2d831636d54ff7a3225a3a52f05b8723110e71fa982de1fa55c9fed307ec8aca
6 changes: 6 additions & 0 deletions cmake/DownloadAndExtractClang.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL Linux)
set(CLANG_ARCHIVE_NAME
clang+llvm-${CLANG_VERSION}-x86_64-linux-gnu-ubuntu-16.04)
endif()
message(${CMAKE_HOST_SYSTEM_PROCESSOR})
if (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "aarch64")
set(CLANG_ARCHIVE_NAME clang+llvm-${CLANG_VERSION}-aarch64-linux-gnu)
elseif (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "armv7l")
set(CLANG_ARCHIVE_NAME clang+llvm-${CLANG_VERSION}-armv7a-linux-gnueabihf)
endif()
endif()

elseif(${CMAKE_SYSTEM_NAME} STREQUAL Darwin)
Expand Down

0 comments on commit bd2bbdc

Please sign in to comment.