Skip to content

Commit

Permalink
chore(cmake): add a warning when using both jemalloc and asan.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>

Co-authored-by: Samuel Gaist <[email protected]>
  • Loading branch information
2 people authored and poiana committed Dec 10, 2024
1 parent 72f4715 commit ac191b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ set(CMD_MAKE make)
include(ExternalProject)

if(USE_JEMALLOC)
if(USE_ASAN)
message(WARNING "Jemalloc and ASAN do not play well together")
endif()
include(jemalloc)
endif()

Expand Down

0 comments on commit ac191b7

Please sign in to comment.