Author: Andreas Tille Last-Update: 2025-10-18 Description: Add default values for MAX_KMER_SIZE and MAX_GMER_SIZE (Any hint how to inject these without patching welcome) --- a/ext/bifrost/CMakeLists.txt +++ b/ext/bifrost/CMakeLists.txt @@ -5,7 +5,8 @@ project(Bifrost) find_package(Threads REQUIRED) # 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. -SET(MAX_GMER_SIZE "${MAX_KMER_SIZE}" CACHE STRING "MAX_GMER_SIZE") +SET(MAX_KMER_SIZE "31" CACHE STRING "MAX_KMER_SIZE") +SET(MAX_GMER_SIZE "63" CACHE STRING "MAX_GMER_SIZE") # Enable architecture optimizations SET(COMPILATION_ARCH "native" CACHE STRING "COMPILATION_ARCH") # Enable AVX2 instructions