Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,12 @@ if [[ ! -f "${TP_INCLUDE_DIR}/jemalloc/jemalloc_doris_with_prefix.h" ]]; then
fi
else
if [[ -z "${USE_JEMALLOC_HOOK}" ]]; then
USE_JEMALLOC_HOOK='OFF'
if [[ "$(uname -s)" != 'Darwin' ]]; then
USE_JEMALLOC_HOOK='OFF'
else
# compile jemalloc on mac have default prefix `je_`, so default use prefix jemalloc to ensure code uniformity.
USE_JEMALLOC_HOOK='ON'
fi
fi
# update jemalloc prefix
rm -rf "${TP_INCLUDE_DIR}/jemalloc/jemalloc.h"
Expand Down