summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-05-18 18:07:19 (GMT)
committerGitHub <noreply@github.com>2023-05-18 18:07:19 (GMT)
commit6787a5bbef0e69aacadc9182f773ffc8a6d12127 (patch)
tree32302d98fbebaeca74f2a1c9d27b06e1a2b8fe74 /config
parent2b70d0dfdfa810e6c7b4e6d35922e58574c487f6 (diff)
downloadhdf5-6787a5bbef0e69aacadc9182f773ffc8a6d12127.zip
hdf5-6787a5bbef0e69aacadc9182f773ffc8a6d12127.tar.gz
hdf5-6787a5bbef0e69aacadc9182f773ffc8a6d12127.tar.bz2
Hdf5 1 12 dt action (#2965)
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)