Apache DataFusion SQL Query Engine
ARROW-3469: [Gandiva] Add gandiva travis OSX entry
Pindikura Ravindra5fcaff7b69a2
diff --git a/.travis.yml b/.travis.ymlindex 4a98978721..59f05e02c0 100644--- a/.travis.yml+++ b/.travis.yml@@ -111,8 +111,6 @@ matrix:- $TRAVIS_BUILD_DIR/ci/travis_install_linux.sh- $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh- $TRAVIS_BUILD_DIR/ci/travis_lint.sh- # If either C++ or Python changed, we must install the C++ libraries- - git submodule update --init- $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh --only-libraryscript:- $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_cpp.sh@@ -139,6 +137,25 @@ matrix:- if [ $ARROW_CI_CPP_AFFECTED == "1" ]; then $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh; fi- $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7- $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6+ # [OS X] Gandiva C++ w/ XCode 8.3 & Java+ - compiler: clang+ language: cpp+ # xcode 7.3 has a bug in strptime.+ osx_image: xcode8.3+ os: osx+ cache:+ addons:+ env:+ - ARROW_TRAVIS_GANDIVA=1+ - ARROW_TRAVIS_USE_TOOLCHAIN=1+ - ARROW_BUILD_WARNING_LEVEL=CHECKIN+ before_script:+ # Run if something changed in CPP or Java.+ - if [ $ARROW_CI_CPP_AFFECTED != "1" ] && [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi+ - $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh --only-library+ script:+ - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_cpp.sh+ - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh# [manylinux1] Python- language: cppbefore_script:diff --git a/ci/travis_install_toolchain.sh b/ci/travis_install_toolchain.shindex fa3b710f32..46dda6e128 100755--- a/ci/travis_install_toolchain.sh+++ b/ci/travis_install_toolchain.sh@@ -22,25 +22,32 @@ source $TRAVIS_BUILD_DIR/ci/travis_env_common.shsource $TRAVIS_BUILD_DIR/ci/travis_install_conda.shif [ ! -e $CPP_TOOLCHAIN ]; then+ if [ $ARROW_TRAVIS_GANDIVA == "1" ] && [ $TRAVIS_OS_NAME == "osx" ]; then+ CONDA_LLVM="llvmdev=6.0.1"+ fi+# Set up C++ toolchain from conda-forge packages for faster builds- conda create -y -q -p $CPP_TOOLCHAIN python=3.6 nomkl \+ conda create -y -q -p $CPP_TOOLCHAIN \boost-cpp \brotli \bzip2 \+ ${CONDA_LLVM} \ccache \cmake \curl \flatbuffers \- lz4-c \gflags \+ glog \gtest \libprotobuf \+ lz4-c \ninja \+ nomkl \+ python=3.6 \rapidjson \+ re2 \snappy \thrift-cpp=0.11.0 \zlib \- glog \- zstd \- re2+ zstdfi