| 1 |
Author: Andreas Tille <[email protected]> |
| 2 |
Last-Update: 2025-10-18 |
| 3 |
Description: Add default values for MAX_KMER_SIZE and MAX_GMER_SIZE |
| 4 |
(Any hint how to inject these without patching welcome) |
| 5 |
|
| 6 |
--- a/ext/bifrost/CMakeLists.txt |
| 7 |
+++ b/ext/bifrost/CMakeLists.txt |
| 8 |
@@ -5,7 +5,8 @@ project(Bifrost) |
| 9 |
find_package(Threads REQUIRED) |
| 10 |
|
| 11 |
# To enable a larger default k-mer size, replace MAX_KMER_SIZE with a larger multiple of 32: actual maximum k-mer size will be MAX_KMER_SIZE-1. |
| 12 |
|
| 13 |
+SET(MAX_KMER_SIZE "31" CACHE STRING "MAX_KMER_SIZE") |
| 14 |
+SET(MAX_GMER_SIZE "63" CACHE STRING "MAX_GMER_SIZE") |
| 15 |
# Enable architecture optimizations |
| 16 |
SET(COMPILATION_ARCH "native" CACHE STRING "COMPILATION_ARCH") |
| 17 |
# Enable AVX2 instructions |