Skip to content

Apache DataFusion SQL Query Engine

ARROW-1170: C++: Link to pthread on ARROW_JEMALLOC=OFF

Uwe L. Korn0e0df0c67b4d
diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh
index 36966da32f..e250e705f1 100755
--- a/ci/travis_before_script_cpp.sh
+++ b/ci/travis_before_script_cpp.sh
@@ -56,8 +56,11 @@ $CMAKE_COMMON_FLAGS \
-DARROW_BUILD_TESTS=OFF \
-DARROW_BUILD_UTILITIES=OFF"
else
+ # Deactivate jemalloc on Linux builds. We check the jemalloc+Linux build
+ # also in the manylinux1 image.
CMAKE_LINUX_FLAGS="\
$CMAKE_LINUX_FLAGS \
+-DARROW_JEMALLOC=ON \
-DARROW_TEST_MEMCHECK=ON"
fi