From b6f44904ff4c4b4ee913d95e5df433d396996b1a Mon Sep 17 00:00:00 2001 From: Dominik Thoennes <dominik.thoennes@fau.de> Date: Tue, 24 Jan 2023 17:48:22 +0100 Subject: [PATCH] march native is not available for clang on arm64 --- tests/simd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/simd/CMakeLists.txt b/tests/simd/CMakeLists.txt index 64436a413..03c6d9414 100644 --- a/tests/simd/CMakeLists.txt +++ b/tests/simd/CMakeLists.txt @@ -8,7 +8,7 @@ # builds the test -if ( WALBERLA_CXX_COMPILER_IS_GNU OR (WALBERLA_CXX_COMPILER_IS_CLANG AND (NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR NOT CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")) ) +if ( WALBERLA_CXX_COMPILER_IS_GNU OR (WALBERLA_CXX_COMPILER_IS_CLANG AND NOT (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")) ) set( MarchNativeString "-march=native" ) endif() -- GitLab