Author: Andreas Tille Last-Update: Fri, 05 Jan 2024 15:02:12 +0100 Description: Use Debian packaged bifrost --- kallisto.orig/src/CMakeLists.txt +++ kallisto/src/CMakeLists.txt @@ -17,7 +17,7 @@ add_executable(kallisto main.cpp) find_package( Threads REQUIRED ) -ExternalProject_Get_Property(bifrost install_dir) +# ExternalProject_Get_Property(bifrost install_dir) if(!DEBIAN_BUILD) if (USE_BAM) target_link_libraries(kallisto kallisto_core pthread ${CMAKE_CURRENT_SOURCE_DIR}/../ext/htslib/libhts.a ${install_dir}/build/src/libbifrost.a) @@ -25,8 +25,8 @@ target_link_libraries(kallisto kallisto_core pthread ${install_dir}/build/src/libbifrost.a) endif(USE_BAM) else() -# FIXME: once bifrost is accepted this should be linked against the Debian packaged library -target_link_libraries(kallisto kallisto_core pthread ${install_dir}/build/src/libbifrost.a) +include_directories(/usr/include/bifrost /usr/include/htslib) +target_link_libraries(kallisto kallisto_core pthread libbifrost) endif() if(LINK MATCHES static) --- kallisto.orig/src/KmerIndex.cpp +++ kallisto/src/KmerIndex.cpp @@ -12,6 +12,8 @@ #include #include "ColoredCDBG.hpp" +typedef boomphf::mphf boophf_t; + // --aa option helper functions // first three letters of nucleotide seq -> comma-free nuc_seq // the three stop codons will be translated to 'NNN'