r-index
r-index copied to clipboard
Crash during make
When running make (as described) I am getting:
[ 28%] Built target sdsl
[ 33%] Built target divsufsort
[ 38%] Built target divsufsort64
[ 42%] Building CXX object CMakeFiles/ri-buildfasta.dir/ri-buildfasta.cpp.o
In file included from /home/frans/r-index/build/sdsl-lite/include/sdsl/int_vector.hpp:24:0,
from /home/frans/r-index/build/sdsl-lite/include/sdsl/bit_vectors.hpp:8,
from /home/frans/r-index/build/sdsl-lite/include/sdsl/wt_pc.hpp:25,
from /home/frans/r-index/build/sdsl-lite/include/sdsl/wavelet_trees.hpp:32,
from /home/frans/r-index/internal/huff_string.hpp:13,
from /home/frans/r-index/internal/rle_string.hpp:26,
from /home/frans/r-index/internal/r_index.hpp:15,
from /home/frans/r-index/ri-buildfasta.cpp:9:
/home/frans/r-index/build/sdsl-lite/include/sdsl/bits.hpp: In static member function ‘static uint32_t sdsl::bits::sel(uint64_t, uint32_t)’:
/home/frans/r-index/build/sdsl-lite/include/sdsl/bits.hpp:331:54: error: ‘_pdep_u64’ was not declared in this scope
return __builtin_ctzll(_pdep_u64(1ull << (i-1), x));
^
In file included from /home/frans/r-index/ri-buildfasta.cpp:9:0:
/home/frans/r-index/internal/r_index.hpp: In member function ‘std::__cxx11::string ri::r_index<sparse_bv_type, rle_string_t>::bigbwt(std::__cxx11::string, bool, uint32_t) [with sparse_bv_type = ri::sparse_sd_vector; rle_string_t = ri::rle_stringri::sparse_sd_vector; std::__cxx11::string = std::__cxx11::basic_string
Any help would be appreciated. Seems like ‘_pdep_u64 ' is missing? Is this ever tackled before? Feel free to ask more details. I am not certain what other info to provide, the build process look quite straight forward.