summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-06-13 23:12:49 (GMT)
committerGitHub <noreply@github.com>2023-06-13 23:12:49 (GMT)
commit340c37629cab7c1c7a2364c18658e2aa605f0078 (patch)
tree3852670026db7a71f562750f8b6a2b1f784a8f66 /config
parent75bcd68e7c0a87de90176513d15bae0e76caea49 (diff)
downloadhdf5-340c37629cab7c1c7a2364c18658e2aa605f0078.zip
hdf5-340c37629cab7c1c7a2364c18658e2aa605f0078.tar.gz
hdf5-340c37629cab7c1c7a2364c18658e2aa605f0078.tar.bz2
Use 1.14 toolchain (#3116)
Diffstat (limited to 'config')
-rw-r--r--config/toolchain/aarch64.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/toolchain/aarch64.cmake b/config/toolchain/aarch64.cmake
index 6996833..fd216a9 100644
--- a/config/toolchain/aarch64.cmake
+++ b/config/toolchain/aarch64.cmake
@@ -1,7 +1,7 @@
set(TOOLCHAIN_PREFIX aarch64-linux-gnu)
-set(ANDROID_NDK /opt/android-ndk-linux)
-set (CMAKE_SYSTEM_NAME Android)
-set (CMAKE_ANDROID_ARCH_ABI x86_64)
+set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_SYSTEM_PROCESSOR aarch64)
+#set (CMAKE_ANDROID_ARCH_ABI x86_64)
#set (CMAKE_ANDROID_STANDALONE_TOOLCHAIN ${ANDROID_NDK}/build/cmake/android.toolchain.cmake)
set (CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
set (CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)
@@ -12,7 +12,7 @@ set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set (CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
-set (CMAKE_CROSSCOMPILING_EMULATOR qemu-aarch64)
+set(CMAKE_CROSSCOMPILING_EMULATOR "qemu-aarch64-static;-L;/usr/aarch64-linux-gnu/" CACHE FILEPATH "Path to the emulator for the target system.")
include_directories(/usr/${TOOLCHAIN_PREFIX}/include)