summaryrefslogtreecommitdiff
path: root/biology/gkl/files
diff options
context:
space:
mode:
Diffstat (limited to 'biology/gkl/files')
-rw-r--r--biology/gkl/files/patch-CMakeLists.txt4
-rw-r--r--biology/gkl/files/patch-src_main_native_pdhmm_pdhmm-implementation.h11
-rw-r--r--biology/gkl/files/patch-src_main_native_pdhmm_pdhmm-serial.cc11
-rw-r--r--biology/gkl/files/patch-src_main_native_pdhmm_pdhmm.h4
4 files changed, 26 insertions, 4 deletions
diff --git a/biology/gkl/files/patch-CMakeLists.txt b/biology/gkl/files/patch-CMakeLists.txt
index 2cda423767df..a05193ec57f9 100644
--- a/biology/gkl/files/patch-CMakeLists.txt
+++ b/biology/gkl/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2024-08-04 17:44:32 UTC
+--- CMakeLists.txt.orig 2025-07-07 07:42:12 UTC
+++ CMakeLists.txt
-@@ -24,6 +24,8 @@ set(NATIVE_DIR ${PROJECT_SOURCE_DIR}/src/main/native)
+@@ -28,6 +28,8 @@ set(NATIVE_DIR ${PROJECT_SOURCE_DIR}/src/main/native)
# add CMakeLists.txt in subdirectories
set(NATIVE_DIR ${PROJECT_SOURCE_DIR}/src/main/native)
diff --git a/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm-implementation.h b/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm-implementation.h
new file mode 100644
index 000000000000..b47595807911
--- /dev/null
+++ b/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm-implementation.h
@@ -0,0 +1,11 @@
+--- src/main/native/pdhmm/pdhmm-implementation.h.orig 2025-08-23 18:25:35 UTC
++++ src/main/native/pdhmm/pdhmm-implementation.h
+@@ -31,7 +31,7 @@
+ #include "avx512_impl.h"
+ #endif
+
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__FreeBSD__)
+ #include <omp.h>
+ #endif
+
diff --git a/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm-serial.cc b/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm-serial.cc
new file mode 100644
index 000000000000..ebe9e8d41887
--- /dev/null
+++ b/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm-serial.cc
@@ -0,0 +1,11 @@
+--- src/main/native/pdhmm/pdhmm-serial.cc.orig 2025-08-23 18:12:32 UTC
++++ src/main/native/pdhmm/pdhmm-serial.cc
+@@ -24,7 +24,7 @@
+ #include "pdhmm-serial.h"
+ #include "MathUtils.h"
+ #include <cstdio>
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__FreeBSD__)
+ #include <omp.h>
+ #endif
+
diff --git a/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm.h b/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm.h
index 4896be46607f..b4afa8fb6791 100644
--- a/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm.h
+++ b/biology/gkl/files/patch-src_main_native_pdhmm_pdhmm.h
@@ -1,4 +1,4 @@
---- src/main/native/pdhmm/pdhmm.h.orig 2024-08-04 16:31:53 UTC
+--- src/main/native/pdhmm/pdhmm.h.orig 2025-07-07 07:42:12 UTC
+++ src/main/native/pdhmm/pdhmm.h
@@ -27,6 +27,9 @@
#ifdef linux
@@ -8,5 +8,5 @@
+#include <omp.h>
+#endif
- inline INT_TYPE roundDownToNearestMultipleOf(INT_TYPE val, INT_TYPE mul) { return (val / mul) * mul; }
+ inline INT_TYPE CONCAT(roundDownToNearestMultipleOf_, SIMD_ENGINE)(INT_TYPE val, INT_TYPE mul) { return (val / mul) * mul; }