From 7909b91ba4f27cd4e741b919e5485b489c325230 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Mon, 9 Oct 2023 20:01:26 +0800 Subject: [PATCH] remove vermicelli_simd.cpp to fix redefinition build failure on SVE2 builds --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 581fa4d1..16a6dab7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -425,8 +425,6 @@ if (ARCH_ARM32 OR ARCH_AARCH64) 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) endif() SET (hs_compile_SRCS @@ -1083,9 +1081,6 @@ else () endif (BUILD_STATIC_LIBS) if (BUILD_SHARED_LIBS) - set (BUILD_SVE OFF) - set (BUILD_SVE2 OFF) - set (BUILD_SVE2_BITPERM OFF) # build shared libs add_library(hs_compile_shared OBJECT ${hs_compile_SRCS}) set_target_properties(hs_compile_shared PROPERTIES POSITION_INDEPENDENT_CODE TRUE)