From: Konstantinos Margaritis Date: Sat, 7 Oct 2023 16:00:42 +0000 (+0800) Subject: SVE2 needs armv9-a, fix build X-Git-Tag: vectorscan/5.4.11~2^2~5^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e403103d605db0db14fb506fd2db8a77cb811d5;p=thirdparty%2Fvectorscan.git SVE2 needs armv9-a, fix build --- 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" )