aboutsummaryrefslogtreecommitdiffstats
path: root/biology/spoa/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /biology/spoa/files/patch-CMakeLists.txt
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'biology/spoa/files/patch-CMakeLists.txt')
-rw-r--r--biology/spoa/files/patch-CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/biology/spoa/files/patch-CMakeLists.txt b/biology/spoa/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..44119c89566a
--- /dev/null
+++ b/biology/spoa/files/patch-CMakeLists.txt
@@ -0,0 +1,16 @@
+--- CMakeLists.txt.orig 2025-11-05 03:44:04 UTC
++++ CMakeLists.txt
+@@ -32,13 +32,6 @@ option(spoa_generate_dispatch "Use SIMDe to generate x
+ option(spoa_use_simde_openmp "Use SIMDe support for OpenMP SIMD" OFF)
+ option(spoa_generate_dispatch "Use SIMDe to generate x86 dispatch" OFF)
+
+-if (NOT spoa_generate_dispatch)
+- if (spoa_optimize_for_portability)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1")
+- elseif (spoa_optimize_for_native)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
+- endif ()
+-endif ()
+ if (spoa_use_simde OR
+ spoa_use_simde_nonvec OR
+ spoa_use_simde_openmp OR