Skip to content

Apache DataFusion SQL Query Engine

ARROW-8120: [Packaging][APT] Add support for Ubuntu Focal

Sutou Kouhei5a382196807e
diff --git a/dev/release/binary-task.rb b/dev/release/binary-task.rb
index 921e058a7b..5ebe5ef43d 100644
--- a/dev/release/binary-task.rb
+++ b/dev/release/binary-task.rb
@@ -1016,6 +1016,7 @@ class BinaryTask
["ubuntu", "xenial", "main"],
["ubuntu", "bionic", "main"],
["ubuntu", "eoan", "main"],
+ ["ubuntu", "focal", "main"],
]
end
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index 946531936f..51ff65c1f8 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -141,11 +141,14 @@ test_apt() {
"ubuntu:bionic" \
"arm64v8/ubuntu:bionic" \
"ubuntu:eoan" \
- "arm64v8/ubuntu:eoan"; do \
+ "arm64v8/ubuntu:eoan" \
+ "ubuntu:focal" \
+ "arm64v8/ubuntu:focal"; do \
# We can't build some arm64 binaries by Crossbow for now.
if [ "${target}" = "arm64v8/debian:stretch" ]; then continue; fi
if [ "${target}" = "arm64v8/debian:buster" ]; then continue; fi
if [ "${target}" = "arm64v8/ubuntu:eoan" ]; then continue; fi
+ if [ "${target}" = "arm64v8/ubuntu:focal" ]; then continue; fi
case "${target}" in
arm64v8/*)
if [ "$(arch)" = "aarch64" -o -e /usr/bin/qemu-aarch64-static ]; then
diff --git a/dev/tasks/linux-packages/apache-arrow-archive-keyring/Rakefile b/dev/tasks/linux-packages/apache-arrow-archive-keyring/Rakefile
index c6b1b4ce64..35518c7ede 100644
--- a/dev/tasks/linux-packages/apache-arrow-archive-keyring/Rakefile
+++ b/dev/tasks/linux-packages/apache-arrow-archive-keyring/Rakefile
@@ -44,10 +44,7 @@ class ApacheArrowArchiveKeyringPackageTask < PackageTask
if deb_archive_name != @archive_name
file deb_archive_name => @archive_name do
- sh("tar", "xf", @archive_name)
- deb_archive_base_name = File.basename(deb_archive_name, ".tar.gz")
- mv(@archive_base_name, deb_archive_base_name)
- sh("tar", "czf", deb_archive_name, deb_archive_base_name)
+ cp(@archive_name, deb_archive_name)
end
end
end
diff --git a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/debian-buster/Dockerfile b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/debian-buster/Dockerfile
index 056b0ede63..0d37f5dee7 100644
--- a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/debian-buster/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/debian-buster/Dockerfile
@@ -21,14 +21,21 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
+ build-essential \
debhelper \
devscripts \
- gnupg && \
+ fakeroot \
+ gnupg \
+ lsb-release && \
apt clean && \
rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/debian-stretch/Dockerfile b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/debian-stretch/Dockerfile
index 9883d768fa..2d9d8ca07e 100644
--- a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/debian-stretch/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/debian-stretch/Dockerfile
@@ -21,14 +21,21 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
+ build-essential \
debhelper \
devscripts \
- gnupg && \
+ fakeroot \
+ gnupg \
+ lsb-release && \
apt clean && \
rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-bionic/Dockerfile b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-bionic/Dockerfile
index b6bc2c0a2a..53e11fb7eb 100644
--- a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-bionic/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-bionic/Dockerfile
@@ -21,14 +21,21 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
+ build-essential \
debhelper \
devscripts \
- gnupg && \
+ fakeroot \
+ gnupg \
+ lsb-release && \
apt clean && \
rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-eoan/Dockerfile b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-eoan/Dockerfile
index aaa0b4e144..884710d61a 100644
--- a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-eoan/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-eoan/Dockerfile
@@ -21,14 +21,21 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
+ build-essential \
debhelper \
devscripts \
- gnupg && \
+ fakeroot \
+ gnupg \
+ lsb-release && \
apt clean && \
rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-focal/Dockerfile b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-focal/Dockerfile
new file mode 100644
index 0000000000..dc902d14d3
--- /dev/null
+++ b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-focal/Dockerfile
@@ -0,0 +1,41 @@
+# 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.
+
+FROM ubuntu:focal
+
+RUN \
+ echo "debconf debconf/frontend select Noninteractive" | \
+ debconf-set-selections
+
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
+ARG DEBUG
+
+RUN \
+ quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
+ apt update ${quiet} && \
+ apt install -y -V ${quiet} \
+ build-essential \
+ debhelper \
+ devscripts \
+ fakeroot \
+ gnupg \
+ lsb-release && \
+ apt clean && \
+ rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-xenial/Dockerfile b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-xenial/Dockerfile
index 05c9f1ab87..e05843081e 100644
--- a/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-xenial/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow-archive-keyring/apt/ubuntu-xenial/Dockerfile
@@ -21,14 +21,21 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
+ build-essential \
debhelper \
devscripts \
- gnupg && \
+ fakeroot \
+ gnupg \
+ lsb-release && \
apt clean && \
rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow-release/Rakefile b/dev/tasks/linux-packages/apache-arrow-release/Rakefile
index 4011372246..8292cfc7ce 100644
--- a/dev/tasks/linux-packages/apache-arrow-release/Rakefile
+++ b/dev/tasks/linux-packages/apache-arrow-release/Rakefile
@@ -60,14 +60,6 @@ class ApacheArrowReleasePackageTask < PackageTask
def enable_apt?
false
end
-
- def yum_targets_default
- [
- "centos-6",
- "centos-7",
- "centos-8",
- ]
- end
end
task = ApacheArrowReleasePackageTask.new
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
index 78d27303e0..c4a9e78e61 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/debian-buster/Dockerfile
@@ -24,6 +24,10 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN sed -i'' -e 's/main$/main contrib non-free/g' /etc/apt/sources.list
@@ -32,13 +36,11 @@ RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
- bison \
build-essential \
clang-7 \
cmake \
debhelper \
devscripts \
- flex \
git \
gtk-doc-tools \
libboost-filesystem-dev \
@@ -57,6 +59,7 @@ RUN \
libsnappy-dev \
libssl-dev \
libzstd-dev \
+ llvm-7-dev \
lsb-release \
ninja-build \
pkg-config \
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/debian-stretch/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/debian-stretch/Dockerfile
index eec67b65fd..c59fdfe31c 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/debian-stretch/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/debian-stretch/Dockerfile
@@ -24,6 +24,10 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN sed -i'' -e 's/main$/main contrib non-free/g' /etc/apt/sources.list
@@ -36,6 +40,7 @@ RUN \
apt update ${quiet} && \
apt install -y -V ${quiet} \
apt-transport-https \
+ ca-certificates \
gnupg \
wget && \
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
@@ -43,12 +48,11 @@ RUN \
/etc/apt/sources.list.d/llvm.list && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
- bison \
build-essential \
clang-7 \
cmake \
devscripts \
- flex \
+ fakeroot \
git \
gtk-doc-tools \
libboost-filesystem-dev \
@@ -65,12 +69,15 @@ RUN \
libsnappy-dev \
libssl-dev \
libzstd-dev \
+ llvm-7-dev \
lsb-release \
ninja-build \
pkg-config \
python3-dev \
python3-numpy \
python3-pip \
+ python3-setuptools \
+ python3-wheel \
tzdata \
zlib1g-dev && \
apt install -y -V -t stretch-backports ${quiet} \
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-bionic/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-bionic/Dockerfile
index 3dba794704..24a92e1edc 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-bionic/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-bionic/Dockerfile
@@ -24,18 +24,21 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
- bison \
build-essential \
clang-7 \
cmake \
devscripts \
- flex \
+ fakeroot \
git \
gtk-doc-tools \
libboost-filesystem-dev \
@@ -52,12 +55,15 @@ RUN \
libsnappy-dev \
libssl-dev \
libzstd-dev \
+ llvm-7-dev \
lsb-release \
ninja-build \
pkg-config \
python3-dev \
python3-numpy \
python3-pip \
+ python3-setuptools \
+ python3-wheel \
rapidjson-dev \
tzdata \
zlib1g-dev && \
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-eoan/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-eoan/Dockerfile
index aff50ea986..b18ef16c16 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-eoan/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-eoan/Dockerfile
@@ -24,19 +24,21 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN \
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
apt update ${quiet} && \
apt install -y -V ${quiet} \
- bison \
build-essential \
clang-7 \
cmake \
debhelper \
devscripts \
- flex \
git \
gtk-doc-tools \
libboost-filesystem-dev \
@@ -54,6 +56,7 @@ RUN \
libsnappy-dev \
libssl-dev \
libzstd-dev \
+ llvm-7-dev \
lsb-release \
ninja-build \
pkg-config \
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal-arm64/from b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal-arm64/from
new file mode 100644
index 0000000000..52ab48b66f
--- /dev/null
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal-arm64/from
@@ -0,0 +1,18 @@
+# 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.
+
+arm64v8/ubuntu:focal
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile
new file mode 100644
index 0000000000..4122c1fe35
--- /dev/null
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/Dockerfile
@@ -0,0 +1,75 @@
+# 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 FROM=ubuntu:focal
+FROM ${FROM}
+
+COPY qemu-* /usr/bin/
+
+RUN \
+ echo "debconf debconf/frontend select Noninteractive" | \
+ debconf-set-selections
+
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
+ARG DEBUG
+
+RUN \
+ quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
+ apt update ${quiet} && \
+ apt install -y -V ${quiet} \
+ build-essential \
+ clang-7 \
+ cmake \
+ debhelper \
+ devscripts \
+ git \
+ gtk-doc-tools \
+ libboost-filesystem-dev \
+ libboost-regex-dev \
+ libboost-system-dev \
+ libbrotli-dev \
+ libbz2-dev \
+ libgirepository1.0-dev \
+ libglib2.0-doc \
+ libgmock-dev \
+ libgoogle-glog-dev \
+ libgtest-dev \
+ liblz4-dev \
+ libre2-dev \
+ libsnappy-dev \
+ libssl-dev \
+ libzstd-dev \
+ llvm-7-dev \
+ lsb-release \
+ ninja-build \
+ pkg-config \
+ python3-dev \
+ python3-numpy \
+ python3-pip \
+ rapidjson-dev \
+ tzdata \
+ zlib1g-dev && \
+ if apt list | grep '^nvidia-cuda-toolkit/'; then \
+ apt install -y -V ${quiet} nvidia-cuda-toolkit; \
+ fi && \
+ apt clean && \
+ pip3 install --upgrade meson && \
+ ln -s /usr/local/bin/meson /usr/bin/ && \
+ rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/qemu-dummy-static b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/qemu-dummy-static
new file mode 100755
index 0000000000..c42e0962de
--- /dev/null
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-focal/qemu-dummy-static
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# 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.
+
+# Do nothing. This exists only for not requiring qemu-aarch64-static copy.
+# Recent Debian (buster or later) and Ubuntu (18.10 or later) on amd64 hosts or
+# arm64 host don't require qemu-aarch64-static in Docker image. But old Debian
+# and Ubuntu hosts on amd64 require qemu-aarch64-static in Docker image.
+#
+# We use "COPY qemu* /usr/bin/" in Dockerfile. If we don't put any "qemnu*",
+# the "COPY" is failed. It means that we always require "qemu*" even if we
+# use recent Debian/Ubuntu or arm64 host. If we have this dummy "qemu*" file,
+# the "COPY" isn't failed. It means that we can copy "qemu*" only when we
+# need.
+#
+# See also "script" in dev/tasks/linux-packages/azure.linux.arm64.yml.
+# Azure Pipelines uses old Ubuntu (18.04).
+# So we need to put "qemu-aarch64-static" into this directory.
diff --git a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-xenial/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-xenial/Dockerfile
index 8b86becd51..e05e691e9e 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-xenial/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/ubuntu-xenial/Dockerfile
@@ -24,6 +24,10 @@ RUN \
echo "debconf debconf/frontend select Noninteractive" | \
debconf-set-selections
+RUN \
+ echo 'APT::Install-Recommends "false";' > \
+ /etc/apt/apt.conf.d/disable-install-recommends
+
ARG DEBUG
RUN \
@@ -31,6 +35,7 @@ RUN \
apt update ${quiet} && \
apt install -y -V ${quiet} \
apt-transport-https \
+ ca-certificates \
gnupg \
wget && \
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
@@ -39,13 +44,12 @@ RUN \
apt update ${quiet} && \
apt install -y -V ${quiet} \
autoconf-archive \
- bison \
build-essential \
cmake \
debhelper\
devscripts \
dh-autoreconf \
- flex \
+ fakeroot \
git \
gtk-doc-tools \
libboost-filesystem-dev \
@@ -69,7 +73,9 @@ RUN \
python3-numpy \
zlib1g-dev && \
if apt list | grep '^clang-7/'; then \
- apt install -y -V ${quiet} clang-7; \
+ apt install -y -V ${quiet} \
+ clang-7 \
+ llvm-7-dev; \
fi && \
if apt list | grep '^nvidia-cuda-toolkit/'; then \
apt install -y -V ${quiet} nvidia-cuda-toolkit; \
diff --git a/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control b/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control
index 702c091ce0..bce06cd06d 100644
--- a/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control
+++ b/dev/tasks/linux-packages/apache-arrow/debian.ubuntu-xenial/control
@@ -4,12 +4,10 @@ Priority: optional
Maintainer: Apache Arrow Developers <[email protected]>
Build-Depends:
autoconf-archive,
- bison,
clang-7 [!arm64],
cmake,
debhelper (>= 9.20160115),
dh-autoreconf,
- flex,
git,
gobject-introspection,
gtk-doc-tools,
@@ -25,6 +23,7 @@ Build-Depends:
libre2-dev,
libsnappy-dev,
libssl-dev,
+ llvm-7-dev [!arm64],
nvidia-cuda-toolkit [!arm64],
pkg-config,
protobuf-compiler,
diff --git a/dev/tasks/linux-packages/apache-arrow/debian/control b/dev/tasks/linux-packages/apache-arrow/debian/control
index 5e0b15d3e7..369fe4d048 100644
--- a/dev/tasks/linux-packages/apache-arrow/debian/control
+++ b/dev/tasks/linux-packages/apache-arrow/debian/control
@@ -3,11 +3,9 @@ Section: devel
Priority: optional
Maintainer: Apache Arrow Developers <[email protected]>
Build-Depends:
- bison,
clang-7,
cmake,
debhelper (>= 12),
- flex,
git,
gobject-introspection,
gtk-doc-tools,
@@ -24,6 +22,7 @@ Build-Depends:
libsnappy-dev,
libssl-dev,
libzstd-dev,
+ llvm-7-dev,
ninja-build,
nvidia-cuda-toolkit [!arm64],
pkg-config,
diff --git a/dev/tasks/linux-packages/package-task.rb b/dev/tasks/linux-packages/package-task.rb
index c0e8a64776..867133280c 100644
--- a/dev/tasks/linux-packages/package-task.rb
+++ b/dev/tasks/linux-packages/package-task.rb
@@ -175,6 +175,8 @@ class PackageTask
# "ubuntu-bionic-arm64",
"ubuntu-eoan",
# "ubuntu-eoan-arm64",
+ "ubuntu-focal",
+ # "ubuntu-focal-arm64",
]
end
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index 399947f081..b9d6ccbffc 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -59,6 +59,7 @@ groups:
- ubuntu-xenial
- ubuntu-bionic
- ubuntu-eoan
+ - ubuntu-focal
- centos-6
- centos-7
- centos-8
@@ -69,6 +70,7 @@ groups:
- ubuntu-xenial-arm64
- ubuntu-bionic-arm64
- ubuntu-eoan-arm64
+ - ubuntu-focal-arm64
- centos-7-aarch64
- centos-8-aarch64
@@ -1264,6 +1266,124 @@ tasks:
- plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
- plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb
+ ubuntu-focal:
+ ci: github
+ platform: linux
+ template: linux-packages/github.linux.yml
+ params:
+ build_command: rake apt:build APT_TARGETS=ubuntu-focal
+ upload_extensions:
+ - .deb
+ - .dsc
+ - .debian.tar.xz
+ - .orig.tar.gz
+ artifacts:
+ - apache-arrow-archive-keyring_{no_rc_version}-1.debian.tar.xz
+ - apache-arrow-archive-keyring_{no_rc_version}-1.dsc
+ - apache-arrow-archive-keyring_{no_rc_version}-1_all.deb
+ - apache-arrow-archive-keyring_{no_rc_version}.orig.tar.gz
+ - apache-arrow_{no_rc_version}-1.debian.tar.xz
+ - apache-arrow_{no_rc_version}-1.dsc
+ - apache-arrow_{no_rc_version}.orig.tar.gz
+ - gir1.2-arrow-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - gir1.2-arrow-cuda-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - gir1.2-gandiva-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - gir1.2-parquet-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - gir1.2-plasma-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-cuda-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-cuda-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-cuda-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-cuda100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-dataset-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-dataset100-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-dataset100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-flight-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-flight100-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-flight100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-python-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-python100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma100_{no_rc_version}-1_[a-z0-9]+.deb
+ - plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
+ - plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb
+
+ ubuntu-focal-arm64:
+ ci: github
+ platform: linux
+ template: linux-packages/github.linux.arm64.yml
+ params:
+ build_command: rake apt:build APT_TARGETS=ubuntu-focal-arm64
+ upload_extensions:
+ - .deb
+ - .dsc
+ - .debian.tar.xz
+ - .orig.tar.gz
+ artifacts:
+ - apache-arrow-archive-keyring_{no_rc_version}-1.debian.tar.xz
+ - apache-arrow-archive-keyring_{no_rc_version}-1.dsc
+ - apache-arrow-archive-keyring_{no_rc_version}-1_all.deb
+ - apache-arrow-archive-keyring_{no_rc_version}.orig.tar.gz
+ - apache-arrow_{no_rc_version}-1.debian.tar.xz
+ - apache-arrow_{no_rc_version}-1.dsc
+ - apache-arrow_{no_rc_version}.orig.tar.gz
+ - gir1.2-arrow-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - gir1.2-arrow-cuda-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - gir1.2-gandiva-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - gir1.2-parquet-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - gir1.2-plasma-1.0_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-cuda-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-cuda-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-cuda-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-cuda100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-dataset-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-dataset100-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-dataset100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-flight-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-flight100-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-flight100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-python-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow-python100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libarrow100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libgandiva100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libparquet100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma-glib-dev_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma-glib-doc_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma-glib100_{no_rc_version}-1_[a-z0-9]+.deb
+ - libplasma100_{no_rc_version}-1_[a-z0-9]+.deb
+ - plasma-store-server-dbgsym_{no_rc_version}-1_[a-z0-9]+.deb
+ - plasma-store-server_{no_rc_version}-1_[a-z0-9]+.deb
+
centos-6:
ci: github
platform: linux