Skip to content

Commit

Permalink
Disable jemalloc by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 6, 2023
1 parent f6d3485 commit dde40b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ci/scripts/cpp_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ if [ "${GITHUB_ACTIONS:-false}" = "true" ]; then
esac
fi

if [ "${ARROW_ENABLE_THREADING:-ON}" == "ON" ]; then
ARROW_JEMALLOC_DEFAULT=ON
else
ARROW_JEMALLOC_DEFAULT=OFF
fi

if [ "${ARROW_USE_CCACHE}" == "ON" ]; then
echo -e "===\n=== ccache statistics before build\n==="
ccache -sv 2>/dev/null || ccache -s
Expand Down Expand Up @@ -118,7 +124,7 @@ cmake \
-DARROW_GCS=${ARROW_GCS:-OFF} \
-DARROW_HDFS=${ARROW_HDFS:-ON} \
-DARROW_INSTALL_NAME_RPATH=${ARROW_INSTALL_NAME_RPATH:-ON} \
-DARROW_JEMALLOC=${ARROW_JEMALLOC:-ON} \
-DARROW_JEMALLOC=${ARROW_JEMALLOC:-${ARROW_JEMALLOC_DEFAULT}} \
-DARROW_JSON=${ARROW_JSON:-ON} \
-DARROW_LARGE_MEMORY_TESTS=${ARROW_LARGE_MEMORY_TESTS:-OFF} \
-DARROW_MIMALLOC=${ARROW_MIMALLOC:-OFF} \
Expand Down

0 comments on commit dde40b9

Please sign in to comment.