Created
January 16, 2021 00:59
-
-
Save tnishinaga/08ce70aef51b000a682ddb13cdb84949 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt | |
index 6d8a539f1b16..249ed7065f8e 100644 | |
--- a/openmp/runtime/CMakeLists.txt | |
+++ b/openmp/runtime/CMakeLists.txt | |
@@ -69,7 +69,7 @@ endif() | |
# FUJITSU A64FX is a special processor because its cache line size is 256. | |
# We need to pass this information into kmp_config.h. | |
-if(LIBOMP_ARCH STREQUAL "aarch64") | |
+if(LIBOMP_ARCH STREQUAL "aarch64" AND NOT APPLE) | |
libomp_is_aarch64_a64fx(LIBOMP_DETECT_AARCH64_A64FX) | |
if (LIBOMP_DETECT_AARCH64_A64FX) | |
set(LIBOMP_ARCH "aarch64_a64fx") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment