COMBINE-lab / pufferfish

An efficient index for the colored, compacted, de Bruijn graph
GNU General Public License v3.0
107 stars 19 forks source link

FindJemalloc.cmake does not work on CentOS 8 #14

Open mathog opened 4 years ago

mathog commented 4 years ago

The supplied cmake/Modules/FindJemalloc.cmake does not work on CentOS 8 even though jemalloc and jemalloc-devel are both installed from RPMs. It was replaced with the FindJeMalloc.cmake from inkscape and that did find the jemalloc files. Salmon 1.2.1 also found jemalloc and its cmake file is nearly identical to the one in Pufferfish, so perhaps you may want to use the one from Salmon in Pufferfish too.

diff FindJemalloc.cmake ../../../pufferfish-1.0.0/cmake/Modules/Hide_FindJemalloc.cmake
22c22
< find_library(JEMALLOC_LIBRARY NAMES jemalloc libjemalloc
---
> #[[find_library(JEMALLOC_LIBRARY NAMES jemalloc libjemalloc
38c38
< endif()
---
> endif()]]