Apache DataFusion SQL Query Engine
ARROW-10988: [C++] Require CMake 3.5 or later
Sutou Kouheif857df224d73
diff --git a/ci/docker/linux-apt-cmake.dockerfile b/ci/docker/linux-apt-cmake.dockerfiledeleted file mode 100644index 69f223f9a3..0000000000--- a/ci/docker/linux-apt-cmake.dockerfile+++ /dev/null@@ -1,30 +0,0 @@-# 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.--ARG base-FROM ${base}--RUN apt-get update && \- apt-get install -y -q \- libidn11 \- wget && \- apt-get clean && \- rm -rf /var/lib/apt/lists/*--ARG cmake=3.2.3-RUN wget -nv -O - https://github.com/Kitware/CMake/releases/download/v${cmake}/cmake-${cmake}-Linux-x86_64.tar.gz | tar -xzf - -C /opt-ENV PATH=/opt/cmake-${cmake}-Linux-x86_64/bin:$PATHdiff --git a/ci/docker/ubuntu-14.04-cpp.dockerfile b/ci/docker/ubuntu-14.04-cpp.dockerfiledeleted file mode 100644index 6335dcc46e..0000000000--- a/ci/docker/ubuntu-14.04-cpp.dockerfile+++ /dev/null@@ -1,94 +0,0 @@-# 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.--ARG base=amd64/ubuntu:14.04-FROM ${base}--SHELL ["/bin/bash", "-o", "pipefail", "-c"]--ENV DEBIAN_FRONTEND noninteractive-RUN apt-get update -y -q && \- apt-get install -y -q --no-install-recommends wget software-properties-common && \- apt-get install -y -q --no-install-recommends \- autoconf \- ca-certificates \- ccache \- g++ \- gcc \- gdb \- git \- libbz2-dev \- libgoogle-glog-dev \- libsnappy-dev \- libssl-dev \- make \- ninja-build \- pkg-config \- protobuf-compiler \- python-pip \- tzdata && \- apt-get clean && \- python -m pip install --upgrade pip && \- pip install --upgrade cmake && \- rm -rf /var/lib/apt/lists/*--# - Flight is deactivated because the OpenSSL in Ubuntu 14.04 is too old-# - Disabling Gandiva since LLVM 7 require gcc >= 4.9 toolchain-# - ORC has compilation warnings that cause errors on gcc 4.8-# - c-ares in Trusty isn't recognized by gRPC build system-# - libprotobuf-dev / libprotoc-dev in Trusty too old for gRPC-# - libbrotli-dev unavailable-# - libgflags-dev is too old-# - libre2-dev unavailable-# - liblz4-dev is too old-ENV ARROW_BUILD_TESTS=ON \- ARROW_DATASET=ON \- ARROW_DEPENDENCY_SOURCE=SYSTEM \- ARROW_FLIGHT=OFF \- ARROW_GANDIVA_JAVA=OFF \- ARROW_GANDIVA=OFF \- ARROW_HOME=/usr/local \- ARROW_ORC=OFF \- ARROW_PARQUET=ON \- ARROW_USE_CCACHE=ON \- ARROW_WITH_BROTLI=ON \- ARROW_WITH_BZ2=ON \- ARROW_WITH_LZ4=ON \- ARROW_WITH_SNAPPY=ON \- ARROW_WITH_ZLIB=ON \- ARROW_WITH_ZSTD=ON \- benchmark_SOURCE=BUNDLED \- BOOST_SOURCE=BUNDLED \- Brotli_SOURCE=BUNDLED \- cares_SOURCE=BUNDLED \- CC=gcc \- CXX=g++ \- gflags_SOURCE=BUNDLED \- gRPC_SOURCE=BUNDLED \- GTest_SOURCE=BUNDLED \- Lz4_SOURCE=BUNDLED \- ORC_SOURCE=BUNDLED \- PARQUET_BUILD_EXAMPLES=ON \- PARQUET_BUILD_EXECUTABLES=ON \- PARQUET_REQUIRE_ENCRYPTION=OFF \- PATH=/usr/lib/ccache/:$PATH \- Protobuf_SOURCE=BUNDLED \- RapidJSON_SOURCE=BUNDLED \- RE2_SOURCE=BUNDLED \- Thrift_SOURCE=BUNDLED \- utf8proc_SOURCE=BUNDLED \- zstd_SOURCE=BUNDLEDdiff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.ymlindex 62a4bc0249..f28edafc92 100644--- a/dev/tasks/tasks.yml+++ b/dev/tasks/tasks.yml@@ -1616,12 +1616,6 @@ tasks:params:run: "-e ARROW_BUILD_SHARED=OFF -e ARROW_BUILD_STATIC=ON -e ARROW_TEST_LINKAGE=static ubuntu-cpp"- test-ubuntu-18.04-cpp-cmake32:- ci: circle- template: docker-tests/circle.linux.yml- params:- run: ubuntu-cpp-cmake32-test-ubuntu-20.04-cpp:ci: githubtemplate: docker-tests/github.linux.ymldiff --git a/docker-compose.yml b/docker-compose.ymlindex a2e7a67bb3..381fbad8cd 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -105,7 +105,6 @@ x-hierarchy:- fedora-cpp:- fedora-python- ubuntu-cpp:- - ubuntu-cpp-cmake32- ubuntu-c-glib:- ubuntu-ruby- ubuntu-lint@@ -587,32 +586,6 @@ services:############################## Integration #################################- ubuntu-cpp-cmake32:- # Usage:- # docker-compose build ubuntu-cpp- # docker-compose build ubuntu-cpp-cmake32- # docker-compose run ubuntu-cpp-cmake32- image: ${REPO}:${ARCH}-ubuntu-${UBUNTU}-cpp-cmake-3.2- build:- context: .- cache_from:- - ${REPO}:${ARCH}-ubuntu-${UBUNTU}-cpp-cmake-3.2- dockerfile: ci/docker/linux-apt-cmake.dockerfile- args:- base: ${REPO}:${ARCH}-ubuntu-${UBUNTU}-cpp- cmake: 3.2.3- ulimits: *ulimits- environment:- <<: *ccache- ARROW_ORC: "OFF"- ARROW_GANDIVA: "OFF"- # uriparser requires cmake 3.3- ARROW_FLIGHT: "OFF"- # Vendor boost to avoid dealing with stale FindBoost.- BOOST_SOURCE: "BUNDLED"- volumes: *ubuntu-volumes- command: *cpp-command-conda-python-pandas:# Possible $PANDAS parameters:# - `latest`: latest release