From 0e403103d605db0db14fb506fd2db8a77cb811d5 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Sun, 8 Oct 2023 00:00:42 +0800 Subject: [PATCH] SVE2 needs armv9-a, fix build --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ce019b72..a1ca5522 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -821,8 +821,6 @@ set (hs_exec_neon_SRCS src/nfa/vermicelli_simd.cpp) set (hs_exec_sve_SRCS src/nfa/vermicelli_simd.cpp) -set (hs_exec_sve2_SRCS - src/nfa/vermicelli_simd.cpp) set (hs_exec_avx2_SRCS src/fdr/teddy_avx2.c @@ -1465,7 +1463,7 @@ else () add_library(hs_exec_sve2 OBJECT ${hs_exec_SRCS} ${hs_exec_sve2_SRCS}) list(APPEND RUNTIME_LIBS $) set_target_properties(hs_exec_sve2 PROPERTIES - COMPILE_FLAGS "-march=armv8-a+sve+sve2+sve2-bitperm -DHAVE_SVE -DHAVE_SVE2" + COMPILE_FLAGS "-march=armv9-a+sve+sve2+sve2-bitperm -DHAVE_SVE -DHAVE_SVE2" RULE_LAUNCH_COMPILE "${BUILD_WRAPPER} sve2 ${CMAKE_MODULE_PATH}/keep.syms.in" )