Skip to content

Apache DataFusion SQL Query Engine

ARROW-4611: [C++] Rework CMake logic

Uwe L. Kornf27959e61b1c
diff --git a/.travis.yml b/.travis.yml
index de9832a8f6..ea4d609988 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,16 +56,15 @@ matrix:
- $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
script:
- $TRAVIS_BUILD_DIR/ci/travis_lint.sh
- - name: "C++ unit tests w/ Valgrind, clang 7.0"
+ - name: "C++ unit tests w/ clang 7.0, system packages"
os: linux
env:
- - ARROW_TRAVIS_VALGRIND=1
- - ARROW_TRAVIS_USE_TOOLCHAIN=1
- - ARROW_TRAVIS_FLIGHT=1
+ - ARROW_TRAVIS_USE_SYSTEM=1
- ARROW_TRAVIS_PLASMA=1
- ARROW_TRAVIS_ORC=1
- ARROW_TRAVIS_PARQUET=1
- ARROW_TRAVIS_GANDIVA=1
+ - ARROW_TRAVIS_VERBOSE=1
- ARROW_TRAVIS_USE_SYSTEM_JAVA=1
- ARROW_BUILD_WARNING_LEVEL=CHECKIN
- CC="clang-7"
@@ -80,56 +79,25 @@ matrix:
script:
- $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1
# Separating Valgrind and C++ coverage makes individual jobs shorter
- - name: "C++ unit tests w/ gcc 5.4, coverage"
+ - name: "C++ unit tests w/ conda-forge toolchain, coverage"
compiler: gcc
language: cpp
os: linux
jdk: openjdk8
env:
+ - ARROW_BUILD_WARNING_LEVEL=CHECKIN
- ARROW_TRAVIS_COVERAGE=1
- - ARROW_TRAVIS_USE_TOOLCHAIN=1
- ARROW_TRAVIS_FLIGHT=1
- - ARROW_TRAVIS_PLASMA=1
- - ARROW_TRAVIS_ORC=1
- - ARROW_TRAVIS_PARQUET=1
- ARROW_TRAVIS_GANDIVA=1
- ARROW_TRAVIS_GANDIVA_JAVA=1
- - ARROW_TRAVIS_USE_SYSTEM_JAVA=1
- - ARROW_BUILD_WARNING_LEVEL=CHECKIN
- before_script:
- - if [ $ARROW_CI_CPP_AFFECTED != "1" ] && [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi
- - $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
- - $TRAVIS_BUILD_DIR/ci/travis_install_linux.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
- script:
- - $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1
- - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh || travis_terminate 1
- - $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh || travis_terminate 1
- - name: "C++ unit tests w/ gcc 4.8, trusty"
- dist: trusty
- compiler: gcc
- language: cpp
- os: linux
- jdk: openjdk8
- env:
- - ARROW_TRAVIS_USE_TOOLCHAIN=1
- - ARROW_TRAVIS_PLASMA=1
- ARROW_TRAVIS_ORC=1
- ARROW_TRAVIS_PARQUET=1
- - ARROW_TRAVIS_GANDIVA=1
- - ARROW_TRAVIS_GANDIVA_JAVA=1
- - ARROW_BUILD_WARNING_LEVEL=CHECKIN
- before_install:
- - ulimit -c unlimited -S
- - |
- if [ $TRAVIS_OS_NAME == "linux" ]; then
- sudo bash -c "echo -e 'Acquire::Retries 10; Acquire::http::Timeout \"20\";' > /etc/apt/apt.conf.d/99-travis-retry"
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- fi
- - eval `python $TRAVIS_BUILD_DIR/ci/detect-changes.py`
+ - ARROW_TRAVIS_PLASMA=1
+ - ARROW_TRAVIS_USE_SYSTEM_JAVA=1
+ - ARROW_TRAVIS_USE_TOOLCHAIN=1
+ # TODO: This fails in re2 code
+ # - ARROW_TRAVIS_VALGRIND=1
+ - ARROW_TRAVIS_VERBOSE=1
before_script:
- if [ $ARROW_CI_CPP_AFFECTED != "1" ] && [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi
- $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
@@ -140,21 +108,23 @@ matrix:
script:
- $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1
- $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh || travis_terminate 1
- - name: "Python 2.7 and 3.6 unit tests w/ Valgrind, gcc 5.4, coverage"
+ - $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh || travis_terminate 1
+ - name: "Python 2.7 and 3.6 unit tests w/ Valgrind, conda-forge toolchain, coverage"
compiler: gcc
language: cpp
os: linux
jdk: openjdk8
env:
# Valgrind is needed for the Plasma store tests
- - ARROW_TRAVIS_VALGRIND=1
- - ARROW_TRAVIS_USE_TOOLCHAIN=1
+ - ARROW_BUILD_WARNING_LEVEL=CHECKIN
- ARROW_TRAVIS_COVERAGE=1
+ - ARROW_TRAVIS_FLIGHT=1
+ - ARROW_TRAVIS_OPTIONAL_INSTALL=1
- ARROW_TRAVIS_PYTHON_DOCS=1
- ARROW_TRAVIS_PYTHON_JVM=1
- - ARROW_TRAVIS_OPTIONAL_INSTALL=1
- - ARROW_BUILD_WARNING_LEVEL=CHECKIN
- ARROW_TRAVIS_USE_SYSTEM_JAVA=1
+ - ARROW_TRAVIS_USE_TOOLCHAIN=1
+ - ARROW_TRAVIS_VALGRIND=1
# TODO(wesm): Run the benchmarks outside of Travis
# - ARROW_TRAVIS_PYTHON_BENCHMARKS=1
before_script:
@@ -172,10 +142,9 @@ matrix:
- export PLASMA_VALGRIND=1
- $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6 || travis_terminate 1
- $TRAVIS_BUILD_DIR/ci/travis_upload_cpp_coverage.sh
- - name: "[OS X] C++ w/ XCode 8.3"
+ - name: "[OS X] C++ w/ XCode 9.3"
compiler: clang
- language: cpp
- osx_image: xcode8.3
+ osx_image: xcode9.3
os: osx
cache:
addons:
@@ -185,17 +154,13 @@ matrix:
- ARROW_TRAVIS_FLIGHT=1
- ARROW_TRAVIS_ORC=1
- ARROW_TRAVIS_PARQUET=1
- - ARROW_TRAVIS_GANDIVA=1
- - ARROW_TRAVIS_GANDIVA_JAVA=1
+ # TODO(ARROW-4763): llvm and llvmdev packages are in conflict:
+ # https://github.com/conda-forge/llvmdev-feedstock/issues/60
+ # - ARROW_TRAVIS_GANDIVA=1
+ # - ARROW_TRAVIS_GANDIVA_JAVA=1
- ARROW_TRAVIS_OPTIONAL_INSTALL=1
- - ARROW_TRAVIS_VERBOSE=0
+ - ARROW_TRAVIS_VERBOSE=1
- ARROW_BUILD_WARNING_LEVEL=CHECKIN
- # ARROW-3803: The Xcode 8.3 image has Boost libraries in /usr/local/lib
- # which can get loaded before the toolchain Boost libraries. These seem to
- # get loaded even though we are modifying LD_LIBRARY_PATH. We build our own
- # Boost and statically link to get around the issue until this can be
- # investigated further
- - ARROW_TRAVIS_VENDORED_BOOST=1
before_script:
- if [ $ARROW_CI_CPP_AFFECTED != "1" ] && [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi
# If either C++ or Python changed, we must install the C++ libraries
@@ -203,23 +168,24 @@ matrix:
- $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
script:
- $TRAVIS_BUILD_DIR/ci/travis_script_cpp.sh || travis_terminate 1
- - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh
- - name: "[OS X] Python w/ XCode 7.3"
+ # Disabled because of ARROW-4763
+ # - $TRAVIS_BUILD_DIR/ci/travis_script_gandiva_java.sh
+ - name: "[OS X] Python w/ XCode 9.3"
compiler: clang
- language: cpp
- osx_image: xcode7.3
+ osx_image: xcode9.3
os: osx
cache:
addons:
env:
+ - ARROW_TRAVIS_PLASMA=1
- ARROW_TRAVIS_USE_TOOLCHAIN=1
- ARROW_BUILD_WARNING_LEVEL=CHECKIN
- ARROW_TRAVIS_OPTIONAL_INSTALL=1
+ - ARROW_TRAVIS_VERBOSE=1
- MACOSX_DEPLOYMENT_TARGET="10.9"
before_script:
script:
- if [ $ARROW_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
- - $TRAVIS_BUILD_DIR/ci/travis_install_toolchain.sh || travis_terminate 1
- $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 2.7 || travis_terminate 1
- $TRAVIS_BUILD_DIR/ci/travis_script_python.sh 3.6
- name: "[manylinux1] Python"
@@ -256,7 +222,7 @@ matrix:
- if [ $ARROW_CI_JAVA_AFFECTED != "1" ]; then exit; fi
script:
- $TRAVIS_BUILD_DIR/ci/travis_script_java.sh
- - name: "Integration w/ OpenJDK 8, clang 7"
+ - name: "Integration w/ OpenJDK 8, conda-forge toolchain"
language: java
os: linux
env: ARROW_TEST_GROUP=integration
@@ -264,8 +230,7 @@ matrix:
env:
- ARROW_TRAVIS_PLASMA=1
- ARROW_TRAVIS_PLASMA_JAVA_CLIENT=1
- - CC="clang-7"
- - CXX="clang++-7"
+ - ARROW_TRAVIS_USE_TOOLCHAIN=1
before_script:
- if [ $ARROW_CI_INTEGRATION_AFFECTED != "1" ]; then exit; fi
- $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
@@ -275,7 +240,8 @@ matrix:
- $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh
script:
- $TRAVIS_BUILD_DIR/ci/travis_script_integration.sh
- - $TRAVIS_BUILD_DIR/ci/travis_script_plasma_java_client.sh
+ # TODO(ARROW-4764): Using system java and plasma built with conda doesn't work
+ # - $TRAVIS_BUILD_DIR/ci/travis_script_plasma_java_client.sh
- name: "NodeJS"
language: node_js
os: linux
@@ -289,7 +255,6 @@ matrix:
- $TRAVIS_BUILD_DIR/ci/travis_script_js.sh
- name: "C++ & GLib & Ruby w/ gcc 5.4"
compiler: gcc
- language: cpp
os: linux
env:
- ARROW_TRAVIS_ORC=1
@@ -369,6 +334,7 @@ matrix:
dist: trusty
env:
- ARROW_TRAVIS_PARQUET=1
+ - ARROW_TRAVIS_USE_SYSTEM=1
before_install:
# Have to copy-paste this here because of how R's build steps work
- eval `python $TRAVIS_BUILD_DIR/ci/detect-changes.py`
@@ -379,6 +345,7 @@ matrix:
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
fi
+ - $TRAVIS_BUILD_DIR/ci/travis_install_clang_tools.sh
- $TRAVIS_BUILD_DIR/ci/travis_install_linux.sh
- $TRAVIS_BUILD_DIR/ci/travis_before_script_cpp.sh --only-library
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TRAVIS_BUILD_DIR/cpp-install/lib
diff --git a/LICENSE.txt b/LICENSE.txt
index 582daa48a9..1605d4cb74 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -837,3 +837,13 @@ This project includes code from the manylinux project.
Copyright: 2016 manylinux
Homepage: https://github.com/pypa/manylinux
License: The MIT License (MIT)
+
+--------------------------------------------------------------------------------
+
+This project include code from CMake.
+
+* cpp/cmake_modules/FindGTest.cmake is based on code from CMake.
+
+Copyright: Copyright 2000-2019 Kitware, Inc. and Contributors
+Homepage: https://gitlab.kitware.com/cmake/cmake
+License: 3-clause BSD
diff --git a/NOTICE.txt b/NOTICE.txt
index b4664a5003..02765f2bf6 100644
--- a/NOTICE.txt
+++ b/NOTICE.txt
@@ -49,6 +49,10 @@ This product includes software from Google Guava (Apache 2.0)
* Copyright (C) 2007 The Guava Authors
* https://github.com/google/guava
+This product include software from CMake (BSD 3-Clause)
+ * CMake - Cross Platform Makefile Generator
+ * Copyright 2000-2019 Kitware, Inc. and Contributors
+
The web site includes files generated by Jekyll.
--------------------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
index 3c4c2c3dc7..5d7e20bdee 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -34,8 +34,8 @@ cache:
- C:\Users\Appveyor\clcache
- C:\Users\Appveyor\.cargo\registry
-matrix:
- fast_finish: true
+#matrix:
+# fast_finish: true
environment:
global:
@@ -61,10 +61,6 @@ environment:
- JOB: "Build_Debug"
GENERATOR: Ninja
CONFIGURATION: "Debug"
- - JOB: "Cmake_Script_Tests"
- GENERATOR: Ninja
- CONFIGURATION: "Release"
- BUILD_SCRIPT: "CMake_Build_Script"
- JOB: "MinGW32"
MINGW_PACKAGE_PREFIX: mingw-w64-i686
MINGW_PREFIX: c:\msys64\mingw32
diff --git a/ci/appveyor-build.bat b/ci/appveyor-build.bat
index 2d5b37aaf2..26445e2149 100644
--- a/ci/appveyor-build.bat
+++ b/ci/appveyor-build.bat
@@ -28,8 +28,6 @@ git config core.symlinks true
git reset --hard
if "%JOB:~,5%" == "MinGW" (
call ci\appveyor-cpp-build-mingw.bat
-) else if "%JOB%" == "Cmake_Script_Tests" (
- call ci\appveyor-cpp-test-cmake-script.bat
) else (
call ci\appveyor-cpp-build.bat
)
diff --git a/ci/appveyor-cpp-build-mingw.bat b/ci/appveyor-cpp-build-mingw.bat
index a7ea37477e..87698a05f4 100644
--- a/ci/appveyor-cpp-build-mingw.bat
+++ b/ci/appveyor-cpp-build-mingw.bat
@@ -32,17 +32,12 @@ set CPP_BUILD_DIR=cpp\build
mkdir %CPP_BUILD_DIR%
pushd %CPP_BUILD_DIR%
-set BOOST_ROOT=%MINGW_PREFIX%
-set LZ4_HOME=%MINGW_PREFIX%
-set ZSTD_HOME=%MINGW_PREFIX%
-set SNAPPY_HOME=%MINGW_PREFIX%
-set BROTLI_HOME=%MINGW_PREFIX%
-set FLATBUFFERS_HOME=%MINGW_PREFIX%
cmake ^
-G "MSYS Makefiles" ^
-DCMAKE_INSTALL_PREFIX=%INSTALL_DIR% ^
-DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^
-DARROW_VERBOSE_THIRDPARTY_BUILD=OFF ^
+ -DARROW_PACKAGE_PREFIX=%MINGW_PREFIX% ^
-DARROW_JEMALLOC=OFF ^
-DARROW_USE_GLOG=OFF ^
-DARROW_PYTHON=ON ^
diff --git a/ci/appveyor-cpp-build.bat b/ci/appveyor-cpp-build.bat
index fa310a3b82..b735d0f53d 100644
--- a/ci/appveyor-cpp-build.bat
+++ b/ci/appveyor-cpp-build.bat
@@ -30,7 +30,7 @@ if "%JOB%" == "Static_Crt_Build" (
pushd cpp\build-debug
cmake -G "%GENERATOR%" ^
- -DARROW_VERBOSE_THIRDPARTY_BUILD=OFF ^
+ -DARROW_VERBOSE_THIRDPARTY_BUILD=ON ^
-DARROW_USE_STATIC_CRT=ON ^
-DARROW_BOOST_USE_SHARED=OFF ^
-DARROW_BUILD_SHARED=OFF ^
@@ -108,7 +108,7 @@ if "%JOB%" == "Toolchain" (
set CONDA_PACKAGES=%CONDA_PACKAGES% --file=ci\conda_env_cpp.yml
)
-conda create -n arrow -q -y %CONDA_PACKAGES% -c conda-forge
+conda create -n arrow -q -y %CONDA_PACKAGES% -c conda-forge || exit /B
call activate arrow
diff --git a/ci/appveyor-cpp-setup-mingw.bat b/ci/appveyor-cpp-setup-mingw.bat
index 0c3d633cf8..b6eb986a15 100644
--- a/ci/appveyor-cpp-setup-mingw.bat
+++ b/ci/appveyor-cpp-setup-mingw.bat
@@ -23,6 +23,7 @@ pacman -S --noconfirm ^
"%MINGW_PACKAGE_PREFIX%-boost" ^
"%MINGW_PACKAGE_PREFIX%-brotli" ^
"%MINGW_PACKAGE_PREFIX%-cmake" ^
+ "%MINGW_PACKAGE_PREFIX%-double-conversion" ^
"%MINGW_PACKAGE_PREFIX%-flatbuffers" ^
"%MINGW_PACKAGE_PREFIX%-gcc" ^
"%MINGW_PACKAGE_PREFIX%-gflags" ^
@@ -32,6 +33,7 @@ pacman -S --noconfirm ^
"%MINGW_PACKAGE_PREFIX%-meson" ^
"%MINGW_PACKAGE_PREFIX%-protobuf" ^
"%MINGW_PACKAGE_PREFIX%-python3-numpy" ^
+ "%MINGW_PACKAGE_PREFIX%-rapidjson" ^
"%MINGW_PACKAGE_PREFIX%-snappy" ^
"%MINGW_PACKAGE_PREFIX%-zlib" ^
"%MINGW_PACKAGE_PREFIX%-zstd" || exit /B
diff --git a/ci/appveyor-cpp-test-cmake-script.bat b/ci/appveyor-cpp-test-cmake-script.bat
deleted file mode 100644
index 415406c4ac..0000000000
--- a/ci/appveyor-cpp-test-cmake-script.bat
+++ /dev/null
@@ -1,193 +0,0 @@
-@rem Licensed to the Apache Software Foundation (ASF) under one
-@rem or more contributor license agreements. See the NOTICE file
-@rem distributed with this work for additional information
-@rem regarding copyright ownership. The ASF licenses this file
-@rem to you under the Apache License, Version 2.0 (the
-@rem "License"); you may not use this file except in compliance
-@rem with the License. You may obtain a copy of the License at
-@rem
-@rem http://www.apache.org/licenses/LICENSE-2.0
-@rem
-@rem Unless required by applicable law or agreed to in writing,
-@rem software distributed under the License is distributed on an
-@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@rem KIND, either express or implied. See the License for the
-@rem specific language governing permissions and limitations
-@rem under the License.
-
-@echo on
-
-@rem Validate cmake script behaviour on missed lib in toolchain
-set CONDA_ENV=arrow-cmake-tests-libs
-conda create -n %CONDA_ENV% -q -y
-conda install -n %CONDA_ENV% -q -y -c conda-forge boost-cpp
-call activate %CONDA_ENV%
-
-set BUILD_DIR=cpp\build-cmake-test
-mkdir %BUILD_DIR%
-pushd %BUILD_DIR%
-
-echo Test cmake script errors out on flatbuffers missed
-set FLATBUFFERS_HOME=WrongPath
-
-cmake -G "%GENERATOR%" ^
- -DARROW_BOOST_USE_SHARED=OFF ^
- -DARROW_BUILD_TESTS=ON ^
- -DARROW_BUILD_EXAMPLES=ON ^
- -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
- -DARROW_CXXFLAGS="/MP" ^
- .. >nul 2>error.txt
-
-FINDSTR /M /C:"Could not find the Flatbuffers library" error.txt || exit /B
-set FLATBUFFERS_HOME=
-
-popd
-rmdir /S /Q %BUILD_DIR%
-mkdir %BUILD_DIR%
-pushd %BUILD_DIR%
-
-echo Test cmake script errors out on gflags missed
-set GFLAGS_HOME=WrongPath
-
-cmake -G "%GENERATOR%" ^
- -DARROW_BOOST_USE_SHARED=OFF ^
- -DARROW_BUILD_TESTS=ON ^
- -DARROW_BUILD_EXAMPLES=ON ^
- -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
- -DARROW_CXXFLAGS="/MP" ^
- .. >nul 2>error.txt
-
-FINDSTR /M /C:"No static or shared library provided for gflags" error.txt || exit /B
-set GFLAGS_HOME=
-
-popd
-rmdir /S /Q %BUILD_DIR%
-mkdir %BUILD_DIR%
-pushd %BUILD_DIR%
-
-echo Test cmake script errors out on snappy missed
-set SNAPPY_HOME=WrongPath
-
-cmake -G "%GENERATOR%" ^
- -DARROW_BOOST_USE_SHARED=OFF ^
- -DARROW_BUILD_TESTS=ON ^
- -DARROW_BUILD_EXAMPLES=ON ^
- -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
- -DARROW_CXXFLAGS="/MP" ^
- .. >nul 2>error.txt
-
-FINDSTR /M /C:"Could not find the Snappy library" error.txt || exit /B
-set SNAPPY_HOME=
-
-popd
-rmdir /S /Q %BUILD_DIR%
-mkdir %BUILD_DIR%
-pushd %BUILD_DIR%
-
-echo Test cmake script errors out on zlib missed
-set ZLIB_HOME=WrongPath
-
-cmake -G "%GENERATOR%" ^
- -DARROW_BOOST_USE_SHARED=OFF ^
- -DARROW_BUILD_TESTS=ON ^
- -DARROW_BUILD_EXAMPLES=ON ^
- -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
- -DARROW_CXXFLAGS="/MP" ^
- .. >nul 2>error.txt
-
-FINDSTR /M /C:"Could not find the ZLIB library" error.txt || exit /B
-set ZLIB_HOME=
-
-popd
-rmdir /S /Q %BUILD_DIR%
-mkdir %BUILD_DIR%
-pushd %BUILD_DIR%
-
-echo Test cmake script errors out on brotli missed
-set BROTLI_HOME=WrongPath
-
-cmake -G "%GENERATOR%" ^
- -DARROW_BOOST_USE_SHARED=OFF ^
- -DARROW_BUILD_TESTS=ON ^
- -DARROW_BUILD_EXAMPLES=ON ^
- -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
- -DARROW_CXXFLAGS="/MP" ^
- .. >nul 2>error.txt
-
-FINDSTR /M /C:"Could not find the Brotli library" error.txt || exit /B
-set BROTLI_HOME=
-
-popd
-rmdir /S /Q %BUILD_DIR%
-mkdir %BUILD_DIR%
-pushd %BUILD_DIR%
-
-echo Test cmake script errors out on lz4 missed
-set LZ4_HOME=WrongPath
-
-cmake -G "%GENERATOR%" ^
- -DARROW_BOOST_USE_SHARED=OFF ^
- -DARROW_BUILD_TESTS=ON ^
- -DARROW_BUILD_EXAMPLES=ON ^
- -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
- -DARROW_CXXFLAGS="/MP" ^
- .. >nul 2>error.txt
-
-FINDSTR /M /C:"No static or shared library provided for lz4" error.txt || exit /B
-set LZ4_HOME=
-
-popd
-rmdir /S /Q %BUILD_DIR%
-mkdir %BUILD_DIR%
-pushd %BUILD_DIR%
-
-echo Test cmake script errors out on zstd missed
-set ZSTD_HOME=WrongPath
-
-cmake -G "%GENERATOR%" ^
- -DARROW_BOOST_USE_SHARED=OFF ^
- -DARROW_BUILD_TESTS=ON ^
- -DARROW_BUILD_EXAMPLES=ON ^
- -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
- -DARROW_CXXFLAGS="/MP" ^
- .. >nul 2>error.txt
-
-FINDSTR /M /C:"Could NOT find ZSTD" error.txt || exit /B
-set ZSTD_HOME=
-
-popd
-rmdir /S /Q %BUILD_DIR%
-call deactivate
-
-@rem Validate libs availability in conda toolchain
-set CONDA_ENV=arrow-cmake-tests-toolchain
-conda create -n %CONDA_ENV% -q -y
-conda install -n %CONDA_ENV% -q -y -c conda-forge ^
- --file=ci\conda_env_cpp.yml
-call activate %CONDA_ENV%
-
-mkdir %BUILD_DIR%
-pushd %BUILD_DIR%
-
-set ARROW_BUILD_TOOLCHAIN=%CONDA_PREFIX%\Library
-cmake -G "%GENERATOR%" ^
- -DARROW_BOOST_USE_SHARED=OFF ^
- -DARROW_BUILD_TESTS=ON ^
- -DARROW_BUILD_EXAMPLES=ON ^
- -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
- -DARROW_CXXFLAGS="/MP" ^
- .. 2>output.txt
-
-set LIBRARY_FOUND_MSG=Added static library dependency
-for %%x in (snappy gflags brotli_enc brotli_dec brotli_common lz4 zstd) do (
- echo Checking %%x library path
- FINDSTR /C:"%LIBRARY_FOUND_MSG% %%x_static: %CONDA_PREFIX:\=/%" output.txt || exit /B
-)
-set LIBRARY_FOUND_MSG=Added shared library dependency
-for %%x in (zlib) do (
- echo Checking %%x library path
- FINDSTR /C:"%LIBRARY_FOUND_MSG% %%x_shared: %CONDA_PREFIX:\=/%" output.txt || exit /B
-)
-
-popd
-rmdir /S /Q %BUILD_DIR%
diff --git a/ci/conda_env_cpp.yml b/ci/conda_env_cpp.yml
index fbe45769a7..cf6f060803 100644
--- a/ci/conda_env_cpp.yml
+++ b/ci/conda_env_cpp.yml
@@ -15,6 +15,7 @@
# specific language governing permissions and limitations
# under the License.
+benchmark
# ARROW-4056: The conda-forge boost 1.69.0 seems to break the Parquet unit
# tests with Xcode 8.3. Root cause not yet determined
boost-cpp=1.68.0
@@ -29,8 +30,11 @@ glog
gmock
grpc-cpp
gtest
+clangdev=7
+llvmdev=7
libprotobuf
lz4-c
+ninja
python
rapidjson
re2
diff --git a/ci/conda_env_unix.yml b/ci/conda_env_unix.yml
index 9ecf549b50..2d3f0535e3 100644
--- a/ci/conda_env_unix.yml
+++ b/ci/conda_env_unix.yml
@@ -18,4 +18,7 @@
# conda package dependencies specific to Unix-like environments (Linux and macOS)
autoconf
+ccache
+pkg-config
rsync
+valgrind
diff --git a/ci/cpp-msvc-build-main.bat b/ci/cpp-msvc-build-main.bat
index db15de6158..97ed401aa6 100644
--- a/ci/cpp-msvc-build-main.bat
+++ b/ci/cpp-msvc-build-main.bat
@@ -22,8 +22,16 @@ set ARROW_HOME=%CONDA_PREFIX%\Library
set CMAKE_ARGS=-DARROW_VERBOSE_THIRDPARTY_BUILD=OFF
if "%JOB%" == "Toolchain" (
- set CMAKE_ARGS=%CMAKE_ARGS% -DARROW_WITH_BZ2=ON
+ @rem Toolchain gtest does not currently work with Visual Studio 2015
+ set CMAKE_ARGS=^
+ %CMAKE_ARGS% ^
+ -DARROW_WITH_BZ2=ON ^
+ -DARROW_DEPENDENCY_SOURCE=CONDA ^
+ -DGTest_SOURCE=BUNDLED
set ARROW_BUILD_TOOLCHAIN=%CONDA_PREFIX%\Library
+) else (
+ @rem We're in a conda enviroment but don't want to use it for the dependencies
+ set CMAKE_ARGS=%CMAKE_ARGE% -DARROW_DEPENDENCY_SOURCE=AUTO
)
@rem Retrieve git submodules, configure env var for Parquet unit tests
diff --git a/ci/docker_build_cpp.sh b/ci/docker_build_cpp.sh
index 5bf6094ae2..782267a152 100755
--- a/ci/docker_build_cpp.sh
+++ b/ci/docker_build_cpp.sh
@@ -22,13 +22,23 @@ source_dir=${1:-/arrow/cpp}
build_dir=${2:-/build/cpp}
install_dir=${3:-${ARROW_HOME:-/usr/local}}
+export CCACHE_DIR=/build/ccache
+
+rm -rf ${build_dir}
mkdir -p ${build_dir}
pushd ${build_dir}
cmake -GNinja \
+ -DARROW_DEPENDENCY_SOURCE=${ARROW_DEPENDENCY_SOURCE:-AUTO} \
+ -DARROW_VERBOSE_THIRDPARTY_BUILD=ON \
-DCMAKE_BUILD_TYPE=${ARROW_BUILD_TYPE:-debug} \
-DCMAKE_INSTALL_PREFIX=${install_dir} \
-DCMAKE_INSTALL_LIBDIR=lib \
+ -DARROW_WITH_BZ2=${ARROW_WITH_BZ2:-ON} \
+ -DARROW_WITH_ZSTD=${ARROW_WITH_ZSTD:-ON} \
+ -DARROW_GANDIVA=${ARROW_GANDIVA:-ON} \
+ -DARROW_BUILD_BENCHMARKS=${ARROW_BUILD_BENCHMARKS:-ON} \
+ -DARROW_FLIGHT=${ARROW_FLIGHT:-ON} \
-DARROW_ORC=${ARROW_ORC:-ON} \
-DARROW_PLASMA=${ARROW_PLASMA:-ON} \
-DARROW_PARQUET=${ARROW_PARQUET:-ON} \
@@ -41,6 +51,7 @@ cmake -GNinja \
-DARROW_INSTALL_NAME_RPATH=${ARROW_INSTALL_NAME_RPATH:-ON} \
-DARROW_EXTRA_ERROR_CONTEXT=ON \
-DCMAKE_CXX_FLAGS=$CXXFLAGS \
+ ${CMAKE_ARGS} \
${source_dir}
ninja
ninja install
diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh
index 2ed2f62411..26a45ecd6e 100755
--- a/ci/travis_before_script_cpp.sh
+++ b/ci/travis_before_script_cpp.sh
@@ -141,6 +141,18 @@ if [ "$ARROW_TRAVIS_OPTIONAL_INSTALL" == "1" ]; then
CMAKE_COMMON_FLAGS="$CMAKE_COMMON_FLAGS -DARROW_OPTIONAL_INSTALL=ON"
fi
+if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then
+ conda activate $CPP_TOOLCHAIN
+fi
+
+# conda-forge sets the build flags by default to -02, skip this to speed up the build
+export CFLAGS=${CFLAGS//-O2}
+export CXXFLAGS=${CXXFLAGS//-O2}
+
+if [ $TRAVIS_OS_NAME == "osx" ]; then
+ source $TRAVIS_BUILD_DIR/ci/travis_install_osx_sdk.sh
+fi
+
if [ $TRAVIS_OS_NAME == "linux" ]; then
cmake $CMAKE_COMMON_FLAGS \
$CMAKE_LINUX_FLAGS \
@@ -164,7 +176,7 @@ fi
# Build and install libraries. Configure ARROW_CPP_BUILD_TARGETS environment
# variable to only build certain targets. If you use this, you must also set
# the environment variable ARROW_TRAVIS_OPTIONAL_INSTALL=1
-$TRAVIS_MAKE -j4 $ARROW_CPP_BUILD_TARGETS
-$TRAVIS_MAKE install
+time $TRAVIS_MAKE -j4 $ARROW_CPP_BUILD_TARGETS
+time $TRAVIS_MAKE install
popd
diff --git a/ci/travis_env_common.sh b/ci/travis_env_common.sh
index 8da83bb76f..a1cc125c76 100755
--- a/ci/travis_env_common.sh
+++ b/ci/travis_env_common.sh
@@ -63,14 +63,7 @@ export ARROW_BUILD_WARNING_LEVEL=${ARROW_BUILD_WARNING_LEVEL:=Production}
if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then
# C++ toolchain
export CPP_TOOLCHAIN=$TRAVIS_BUILD_DIR/cpp-toolchain
- export ARROW_BUILD_TOOLCHAIN=$CPP_TOOLCHAIN
- export BOOST_ROOT=$CPP_TOOLCHAIN
- # Protocol buffers used by Apache ORC thirdparty build
- export PROTOBUF_HOME=$CPP_TOOLCHAIN
-
- export PATH=$CPP_TOOLCHAIN/bin:$PATH
- export LD_LIBRARY_PATH=$CPP_TOOLCHAIN/lib:$LD_LIBRARY_PATH
export TRAVIS_MAKE=ninja
else
export TRAVIS_MAKE=make
diff --git a/ci/travis_install_linux.sh b/ci/travis_install_linux.sh
index 5be5e7a77f..441d50d9b1 100755
--- a/ci/travis_install_linux.sh
+++ b/ci/travis_install_linux.sh
@@ -42,6 +42,39 @@ if [ "$ARROW_TRAVIS_GANDIVA" == "1" ]; then
sudo apt-get install -y -qq llvm-$ARROW_LLVM_MAJOR_VERSION-dev
fi
+if [ "$ARROW_TRAVIS_USE_SYSTEM" == "1" ]; then
+ if [ "$DISTRO_CODENAME" == "xenial" ]; then
+ # TODO(ARROW-4761): Install libzstd-dev once we support zstd<1
+ # TODO(ARROW-4762): Install rapidjson-dev once we support rapidjson<1.1.0
+ export ADDITIONAL_APT_PKGS="libre2-dev libbrotli-dev liblz4-dev"
+ fi
+ sudo apt-get install -y -q --no-install-recommends \
+ autoconf \
+ ca-certificates \
+ ccache \
+ cmake \
+ g++ \
+ gcc \
+ git \
+ libboost-all-dev \
+ libdouble-conversion-dev \
+ libsnappy-dev \
+ libssl-dev \
+ libgflags-dev \
+ libprotobuf-dev \
+ libprotoc-dev \
+ llvm-7-dev \
+ clang-7 \
+ protobuf-compiler \
+ libbz2-dev \
+ ninja-build \
+ pkg-config \
+ tzdata \
+ flex \
+ bison \
+ ${ADDITIONAL_APT_PKGS}
+fi
+
set -x
if [ "$DISTRO_CODENAME" != "trusty" ]; then
sudo apt-get install -y -qq maven
diff --git a/ci/travis_install_osx_sdk.sh b/ci/travis_install_osx_sdk.sh
new file mode 100755
index 0000000000..3c3624cdb0
--- /dev/null
+++ b/ci/travis_install_osx_sdk.sh
@@ -0,0 +1,40 @@
+#!/usr/bin/env bash
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -ex
+
+export MACOSX_DEPLOYMENT_TARGET="10.9"
+export CONDA_BUILD_SYSROOT="$(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${MACOSX_DEPLOYMENT_TARGET}.sdk"
+
+if [[ ! -d ${CONDA_BUILD_SYSROOT} || "$OSX_FORCE_SDK_DOWNLOAD" == "1" ]]; then
+ echo "downloading ${macosx_deployment_target} sdk"
+ curl -L -O https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX${MACOSX_DEPLOYMENT_TARGET}.sdk.tar.xz
+ tar -xf MacOSX${MACOSX_DEPLOYMENT_TARGET}.sdk.tar.xz -C "$(dirname "$CONDA_BUILD_SYSROOT")"
+ # set minimum sdk version to our target
+ plutil -replace MinimumSDKVersion -string ${MACOSX_DEPLOYMENT_TARGET} $(xcode-select -p)/Platforms/MacOSX.platform/Info.plist
+ plutil -replace DTSDKName -string macosx${MACOSX_DEPLOYMENT_TARGET}internal $(xcode-select -p)/Platforms/MacOSX.platform/Info.plist
+fi
+
+if [ -d "${CONDA_BUILD_SYSROOT}" ]; then
+ echo "Found CONDA_BUILD_SYSROOT: ${CONDA_BUILD_SYSROOT}"
+else
+ echo "Missing CONDA_BUILD_SYSROOT: ${CONDA_BUILD_SYSROOT}"
+ exit 1
+fi
+
diff --git a/ci/travis_install_toolchain.sh b/ci/travis_install_toolchain.sh
index 4d674a1f79..d5fdb11e01 100755
--- a/ci/travis_install_toolchain.sh
+++ b/ci/travis_install_toolchain.sh
@@ -29,26 +29,17 @@ if [ ! -e $CPP_TOOLCHAIN ]; then
CONDA_PACKAGES="$CONDA_PACKAGES llvmdev=$CONDA_LLVM_VERSION"
fi
- if [ $TRAVIS_OS_NAME == "linux" ]; then
- if [ "$DISTRO_CODENAME" == "trusty" ]; then
- CONDA_LABEL=" -c conda-forge/label/cf201901"
- else
- # Use newer binutils when linking against conda-provided libraries
- CONDA_PACKAGES="$CONDA_PACKAGES binutils=$CONDA_BINUTILS_VERSION"
- fi
- fi
-
if [ "$ARROW_TRAVIS_VALGRIND" == "1" ]; then
# Use newer Valgrind
CONDA_PACKAGES="$CONDA_PACKAGES valgrind"
fi
# Set up C++ toolchain from conda-forge packages for faster builds
- conda create -y -q -p $CPP_TOOLCHAIN $CONDA_LABEL \
+ time conda create -y -q -p $CPP_TOOLCHAIN \
--file=$TRAVIS_BUILD_DIR/ci/conda_env_cpp.yml \
+ --file=$TRAVIS_BUILD_DIR/ci/conda_env_unix.yml \
+ compilers \
$CONDA_PACKAGES \
- ccache \
- ninja \
nomkl \
python=3.6
fi
diff --git a/ci/travis_script_cpp.sh b/ci/travis_script_cpp.sh
index 14529b0316..718cda8828 100755
--- a/ci/travis_script_cpp.sh
+++ b/ci/travis_script_cpp.sh
@@ -23,7 +23,12 @@ source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
pushd $CPP_BUILD_DIR
-PATH=$ARROW_BUILD_TYPE:$PATH ctest -j2 --output-on-failure -L unittest
+if [ $TRAVIS_OS_NAME == "osx" ]; then
+ # TODO: This does not seem to terminate
+ CTEST_ARGS="-E arrow-flight-test"
+fi
+
+PATH=$ARROW_BUILD_TYPE:$PATH ctest -j2 --output-on-failure -L unittest ${CTEST_ARGS}
popd
diff --git a/ci/travis_script_integration.sh b/ci/travis_script_integration.sh
index 02e2eae815..e8d67acc16 100755
--- a/ci/travis_script_integration.sh
+++ b/ci/travis_script_integration.sh
@@ -17,7 +17,7 @@
# specific language governing permissions and limitations
# under the License.
-set -e
+set -ex
source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
@@ -42,15 +42,9 @@ popd
pushd $ARROW_INTEGRATION_DIR
-CONDA_ENV_NAME=arrow-integration-test
-conda create -y -q -n $CONDA_ENV_NAME python=3.6
-conda activate $CONDA_ENV_NAME
-
-# faster builds, please
-conda install -y nomkl
-
-# Expensive dependencies install from Continuum package repo
-conda install -y pip numpy six
+conda activate $CPP_TOOLCHAIN
+# Install integration test requirements
+conda install -y -q python=3.6 six numpy
# ARROW-4008: Create a directory to write temporary files since /tmp can be
# unstable in Travis CI
diff --git a/ci/travis_script_plasma_java_client.sh b/ci/travis_script_plasma_java_client.sh
index 0b291ed32a..61027b58d3 100755
--- a/ci/travis_script_plasma_java_client.sh
+++ b/ci/travis_script_plasma_java_client.sh
@@ -21,6 +21,10 @@ set -e
source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
+source $TRAVIS_BUILD_DIR/ci/travis_install_conda.sh
+
+conda activate $CPP_TOOLCHAIN
+
PLASMA_JAVA_DIR=${TRAVIS_BUILD_DIR}/java/plasma
pushd $PLASMA_JAVA_DIR
diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh
index 99126e5927..5e4aaac052 100755
--- a/ci/travis_script_python.sh
+++ b/ci/travis_script_python.sh
@@ -46,12 +46,14 @@ if [ "$ARROW_TRAVIS_PYTHON_JVM" == "1" ]; then
fi
conda create -y -q -p $CONDA_ENV_DIR \
+ --file $TRAVIS_BUILD_DIR/ci/conda_env_cpp.yml \
--file $TRAVIS_BUILD_DIR/ci/conda_env_python.yml \
nomkl \
pip \
numpy=1.14 \
'libgfortran<4' \
python=${PYTHON_VERSION} \
+ compilers \
${CONDA_JVM_DEPS}
conda activate $CONDA_ENV_DIR
@@ -79,11 +81,12 @@ if [ $TRAVIS_OS_NAME != "osx" ]; then
fi
# Re-build C++ libraries with the right Python setup
+
+# Clear out prior build files
+rm -rf $ARROW_CPP_BUILD_DIR
mkdir -p $ARROW_CPP_BUILD_DIR
pushd $ARROW_CPP_BUILD_DIR
-# Clear out prior build files
-rm -rf *
# XXX Can we simply reuse CMAKE_COMMON_FLAGS from travis_before_script_cpp.sh?
CMAKE_COMMON_FLAGS="-DARROW_EXTRA_ERROR_CONTEXT=ON"
@@ -99,6 +102,18 @@ if [ "$ARROW_TRAVIS_PYTHON_GANDIVA" == "1" ]; then
PYTHON_CPP_BUILD_TARGETS="$PYTHON_CPP_BUILD_TARGETS gandiva"
fi
+if [ "$ARROW_TRAVIS_VERBOSE" == "1" ]; then
+ CMAKE_COMMON_FLAGS="$CMAKE_COMMON_FLAGS -DARROW_VERBOSE_THIRDPARTY_BUILD=ON"
+fi
+
+if [ $TRAVIS_OS_NAME == "osx" ]; then
+ source $TRAVIS_BUILD_DIR/ci/travis_install_osx_sdk.sh
+fi
+
+# conda-forge sets the build flags by default to -02, skip this to speed up the build
+export CFLAGS=${CFLAGS//-O2}
+export CXXFLAGS=${CXXFLAGS//-O2}
+
cmake -GNinja \
$CMAKE_COMMON_FLAGS \
-DARROW_BUILD_TESTS=ON \
diff --git a/docker-compose.yml b/docker-compose.yml
index b740015d26..86dfba5d44 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -32,14 +32,38 @@ x-ubuntu-volumes:
- .:/arrow:delegated
- ubuntu-cache:/build:delegated
+x-ubuntu-xenial-volumes:
+ &ubuntu-xenial-volumes
+ - .:/arrow:delegated
+ - ubuntu-xenial-cache:/build:delegated
+
+x-ubuntu-bionic-volumes:
+ &ubuntu-bionic-volumes
+ - .:/arrow:delegated
+ - ubuntu-bionic-cache:/build:delegated
+
x-alpine-volumes:
&alpine-volumes
- .:/arrow:delegated
- alpine-cache:/build:delegated
+x-fedora-volumes:
+ &fedora-volumes
+ - .:/arrow:delegated
+ - fedora-cache:/build:delegated
+
+x-debian-testing-volumes:
+ &debian-testing-volumes
+ - .:/arrow:delegated
+ - debian-testing-cache:/build:delegated
+
volumes:
ubuntu-cache:
+ ubuntu-xenial-cache:
+ ubuntu-bionic-cache:
alpine-cache:
+ fedora-cache:
+ debian-testing-cache:
maven-cache:
spark-cache:
@@ -99,6 +123,58 @@ services:
PARQUET_TEST_DATA: /arrow/cpp/submodules/parquet-testing/data
volumes: *alpine-volumes
+ cpp-fedora:
+ # Usage:
+ # docker-compose build cpp-fedora
+ # docker-compose run cpp-fedora
+ image: arrow:cpp-fedora
+ shm_size: 2G
+ build:
+ context: .
+ dockerfile: cpp/Dockerfile.fedora
+ environment:
+ PARQUET_TEST_DATA: /arrow/cpp/submodules/parquet-testing/data
+ volumes: *fedora-volumes
+
+ cpp-debian-testing:
+ # Usage:
+ # docker-compose build cpp-debian-testing
+ # docker-compose run cpp-debian-testing
+ image: arrow:cpp-debian-testing
+ shm_size: 2G
+ build:
+ context: .
+ dockerfile: cpp/Dockerfile.debian-testing
+ environment:
+ PARQUET_TEST_DATA: /arrow/cpp/submodules/parquet-testing/data
+ volumes: *debian-testing-volumes
+
+ cpp-ubuntu-xenial:
+ # Usage:
+ # docker-compose build cpp-ubuntu-xenial
+ # docker-compose run cpp-ubuntu-xenial
+ image: arrow:cpp-ubuntu-xenial
+ shm_size: 2G
+ build:
+ context: .
+ dockerfile: cpp/Dockerfile.ubuntu-xenial
+ environment:
+ PARQUET_TEST_DATA: /arrow/cpp/submodules/parquet-testing/data
+ volumes: *ubuntu-xenial-volumes
+
+ cpp-ubuntu-bionic:
+ # Usage:
+ # docker-compose build cpp-ubuntu-bionic
+ # docker-compose run cpp-ubuntu-bionic
+ image: arrow:cpp-ubuntu-bionic
+ shm_size: 2G
+ build:
+ context: .
+ dockerfile: cpp/Dockerfile.ubuntu-bionic
+ environment:
+ PARQUET_TEST_DATA: /arrow/cpp/submodules/parquet-testing/data
+ volumes: *ubuntu-bionic-volumes
+
go:
# Usage:
# docker-compose build go
@@ -242,7 +318,7 @@ services:
# $ docker-compose pull python-manylinux1
# an then run:
# $ docker-compose run -e PYTHON_VERSION=3.7 python-manylinux1
- image: quay.io/xhochy/arrow_manylinux1_x86_64_base:ARROW-4778
+ image: quay.io/xhochy/arrow_manylinux1_x86_64_base:build-on-fedora
build:
context: python/manylinux1
dockerfile: Dockerfile-x86_64_base