diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt --- a/openmp/runtime/CMakeLists.txt +++ b/openmp/runtime/CMakeLists.txt @@ -69,7 +69,7 @@ # 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")