build: disable USE_JEMALLOC on macOS for now

This commit is contained in:
Marcus Holland-Moritz 2024-05-18 19:34:07 +02:00
parent 1e8de0ce26
commit ed9684c090

View File

@ -48,7 +48,12 @@ else()
option(ENABLE_TSAN "enable thread sanitizer" OFF)
option(ENABLE_UBSAN "enable undefined behaviour sanitizer" OFF)
option(ENABLE_COVERAGE "enable code coverage" OFF)
option(USE_JEMALLOC "build with jemalloc" ON)
if(APPLE)
# This doesn't work reliably on macOS at the moment
set(USE_JEMALLOC OFF)
else()
option(USE_JEMALLOC "build with jemalloc" ON)
endif()
option(PREFER_SYSTEM_GTEST "use system gtest if available" OFF)
option(DISABLE_CCACHE "disable ccache" OFF)
option(DISABLE_MOLD "disable mold" OFF)