mirror of
https://github.com/ceph/ceph
synced 2025-01-31 07:22:56 +00:00
Merge pull request #13377 from wjwithagen/wip-wjw-freebsd-jemalloc
CMakeLists.txt: suppress unneeded warning about jemalloc
This commit is contained in:
commit
625ffe8cc6
@ -286,7 +286,10 @@ else(ALLOCATOR)
|
||||
elseif(JEMALLOC_FOUND)
|
||||
set(ALLOCATOR jemalloc)
|
||||
else()
|
||||
message(WARNING "tcmalloc and jemalloc not found, falling back to libc")
|
||||
if(NOT FREEBSD)
|
||||
# FreeBSD already has jemalloc as its default allocator
|
||||
message(WARNING "tcmalloc and jemalloc not found, falling back to libc")
|
||||
endif()
|
||||
set(ALLOCATOR "libc")
|
||||
endif(GPERFTOOLS_FOUND)
|
||||
endif(ALLOCATOR)
|
||||
|
Loading…
Reference in New Issue
Block a user