Apache DataFusion SQL Query Engine
ARROW-11009: [C++] Allow changing default memory pool with an environment variable
Antoine Pitrou469e523102a2
diff --git a/.travis.yml b/.travis.ymlindex 84bbbce23d..ff2791b944 100644--- a/.travis.yml+++ b/.travis.yml@@ -77,13 +77,15 @@ jobs:ARCH: s390xARROW_CI_MODULES: "CPP"DOCKER_IMAGE_ID: ubuntu-cpp- # Can't use CMAKE_UNITIFY_BUILD=ON because of compiler crash.+ # Can't use CMAKE_UNITY_BUILD=ON because of compiler crash.+ # Can't enable ARROW_MIMALLOC because of failures in memory pool tests.# Can't enable ARROW_S3 because compiler is killed while compiling# aws-sdk-cpp.DOCKER_RUN_ARGS: >-"-e ARROW_BUILD_STATIC=OFF-e ARROW_FLIGHT=ON+ -e ARROW_MIMALLOC=OFF-e ARROW_ORC=OFF-e ARROW_PARQUET=OFF-e ARROW_S3=OFFdiff --git a/ci/scripts/cpp_build.sh b/ci/scripts/cpp_build.shindex fe109b77b0..a12c51c07a 100755--- a/ci/scripts/cpp_build.sh+++ b/ci/scripts/cpp_build.sh@@ -88,7 +88,7 @@ cmake -G "${CMAKE_GENERATOR:-Ninja}" \-DARROW_TEST_MEMCHECK=${ARROW_TEST_MEMCHECK:-OFF} \-DARROW_USE_ASAN=${ARROW_USE_ASAN:-OFF} \-DARROW_USE_CCACHE=${ARROW_USE_CCACHE:-ON} \- -DARROW_USE_GLOG=${ARROW_USE_GLOG:-ON} \+ -DARROW_USE_GLOG=${ARROW_USE_GLOG:-OFF} \-DARROW_USE_LD_GOLD=${ARROW_USE_LD_GOLD:-OFF} \-DARROW_USE_PRECOMPILED_HEADERS=${ARROW_USE_PRECOMPILED_HEADERS:-OFF} \-DARROW_USE_STATIC_CRT=${ARROW_USE_STATIC_CRT:-OFF} \diff --git a/docker-compose.yml b/docker-compose.ymlindex 381fbad8cd..0454c678c8 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -162,6 +162,7 @@ services:<<: *ccacheARROW_BUILD_BENCHMARKS: "ON"ARROW_ENABLE_TIMING_TESTS: # inherit+ ARROW_MIMALLOC: "ON"ARROW_USE_LD_GOLD: "ON"ARROW_USE_PRECOMPILED_HEADERS: "ON"volumes: &conda-volumes@@ -223,6 +224,7 @@ services:environment:<<: *ccacheARROW_ENABLE_TIMING_TESTS: # inherit+ ARROW_MIMALLOC: "ON"volumes: &debian-volumes- .:/arrow:delegated- ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-debian-${DEBIAN}-ccache:/ccache:delegated@@ -254,6 +256,7 @@ services:environment:<<: *ccacheARROW_ENABLE_TIMING_TESTS: # inherit+ ARROW_MIMALLOC: "ON"volumes: &ubuntu-volumes- .:/arrow:delegated- ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-ubuntu-${UBUNTU}-ccache:/ccache:delegated@@ -344,6 +347,7 @@ services:environment:<<: *ccacheARROW_ENABLE_TIMING_TESTS: # inherit+ ARROW_MIMALLOC: "ON"volumes: &fedora-volumes- .:/arrow:delegated- ${DOCKER_VOLUME_DIRECTORY:-.docker}/${ARCH}-fedora-${FEDORA}-ccache:/ccache:delegated