FindJemalloc.cmake does not work on CentOS 8
mathog opened this issue · 0 comments
mathog commented
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()]]