[ https://issues.apache.org/jira/browse/ARROW-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369407#comment-16369407 ]
ASF GitHub Bot commented on ARROW-2168: --------------------------------------- wesm closed pull request #1621: ARROW-2168: [C++] Build toolchain on CI with jemalloc URL: https://github.com/apache/arrow/pull/1621 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh index 4ffe97f67..17b5deb36 100755 --- a/ci/travis_before_script_cpp.sh +++ b/ci/travis_before_script_cpp.sh @@ -29,14 +29,6 @@ else source $TRAVIS_BUILD_DIR/ci/travis_install_conda.sh fi -if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then - # Set up C++ toolchain from conda-forge packages for faster builds - source $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh -fi - -mkdir -p $ARROW_CPP_BUILD_DIR -pushd $ARROW_CPP_BUILD_DIR - CMAKE_COMMON_FLAGS="\ -DARROW_BUILD_BENCHMARKS=ON \ -DCMAKE_INSTALL_PREFIX=$ARROW_CPP_INSTALL \ @@ -45,6 +37,15 @@ CMAKE_COMMON_FLAGS="\ CMAKE_LINUX_FLAGS="" CMAKE_OSX_FLAGS="" +if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then + # Set up C++ toolchain from conda-forge packages for faster builds + source $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh + CMAKE_COMMON_FLAGS="${CMAKE_COMMON_FLAGS} -DARROW_JEMALLOC=ON" +fi + +mkdir -p $ARROW_CPP_BUILD_DIR +pushd $ARROW_CPP_BUILD_DIR + if [ $only_library_mode == "yes" ]; then CMAKE_COMMON_FLAGS="\ $CMAKE_COMMON_FLAGS \ diff --git a/ci/travis_install_toolchain.sh b/ci/travis_install_toolchain.sh index e01a084da..60cdc36a2 100755 --- a/ci/travis_install_toolchain.sh +++ b/ci/travis_install_toolchain.sh @@ -24,7 +24,7 @@ source $TRAVIS_BUILD_DIR/ci/travis_install_conda.sh if [ ! -e $CPP_TOOLCHAIN ]; then # Set up C++ toolchain from conda-forge packages for faster builds conda create -y -q -p $CPP_TOOLCHAIN python=2.7 \ - jemalloc=4.4.0 \ + jemalloc=4.5.0.post \ nomkl \ boost-cpp \ rapidjson \ ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > [C++] Build toolchain builds with jemalloc > ------------------------------------------ > > Key: ARROW-2168 > URL: https://issues.apache.org/jira/browse/ARROW-2168 > Project: Apache Arrow > Issue Type: Improvement > Reporter: Uwe L. Korn > Priority: Major > Labels: pull-request-available > Fix For: 0.9.0 > > > We have fixed all known problems in the jemalloc 4.x branch and should be > able to gradually reactivate it in our builds to get its performance boost. -- This message was sent by Atlassian JIRA (v7.6.3#76005)