Skip to content

Apache DataFusion SQL Query Engine

ARROW-456: Add jemalloc based MemoryPool

Uwe L. Korn1d15e38808dd
diff --git a/.travis.yml b/.travis.yml
index 1634eba443..e8d91045c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,7 @@ addons:
- libboost-dev
- libboost-filesystem-dev
- libboost-system-dev
+ - libjemalloc-dev
matrix:
fast_finish: true
diff --git a/appveyor.yml b/appveyor.yml
index 6747848708..17362c993d 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -32,7 +32,7 @@ build_script:
- cd build
# A lot of features are still deactivated as they do not build on Windows
# * gbenchmark doesn't build with MSVC
- - cmake -G "%GENERATOR%" -DARROW_BOOST_USE_SHARED=OFF -DARROW_IPC=OFF -DARROW_HDFS=OFF -DARROW_BUILD_BENCHMARKS=OFF ..
+ - cmake -G "%GENERATOR%" -DARROW_BOOST_USE_SHARED=OFF -DARROW_IPC=OFF -DARROW_HDFS=OFF -DARROW_BUILD_BENCHMARKS=OFF -DARROW_JEMALLOC=OFF ..
- cmake --build . --config Debug
# test_script:
diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh
index 73bdaeb81f..94a889cff1 100755
--- a/ci/travis_before_script_cpp.sh
+++ b/ci/travis_before_script_cpp.sh
@@ -17,6 +17,11 @@ set -ex
: ${CPP_BUILD_DIR=$TRAVIS_BUILD_DIR/cpp-build}
+if [ $TRAVIS_OS_NAME == "osx" ]; then
+ brew update > /dev/null
+ brew install jemalloc
+fi
+
mkdir $CPP_BUILD_DIR
pushd $CPP_BUILD_DIR