kou closed pull request #29: ARROW-2768: Support Ubuntu 18.04 URL: https://github.com/apache/arrow-dist/pull/29
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/.travis.yml b/.travis.yml index 139b898..577296c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,7 +71,7 @@ matrix: before_install: install: script: - - (cd cpp-linux && travis_wait 40 rake apt:build APT_TARGETS=ubuntu-artful PARALLEL=yes DEBUG=no) + - (cd cpp-linux && travis_wait 40 rake apt:build APT_TARGETS=ubuntu-artful,ubuntu-bionic PARALLEL=yes DEBUG=no) deploy: provider: bintray file: cpp-linux/apt/descriptor.json diff --git a/cpp-linux/apt/ubuntu-bionic/Dockerfile b/cpp-linux/apt/ubuntu-bionic/Dockerfile new file mode 100644 index 0000000..e4362b7 --- /dev/null +++ b/cpp-linux/apt/ubuntu-bionic/Dockerfile @@ -0,0 +1,47 @@ +# 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:18.04 + +ENV DEBIAN_FRONTEND noninteractive + +ARG DEBUG + +RUN \ + quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \ + apt update ${quiet} && \ + apt install -y -V ${quiet} \ + autoconf-archive \ + build-essential \ + cmake \ + debhelper\ + devscripts \ + git \ + gtk-doc-tools \ + libboost-filesystem-dev \ + libboost-regex-dev \ + libboost-system-dev \ + libgirepository1.0-dev \ + libglib2.0-doc \ + libjemalloc-dev \ + lsb-release \ + nvidia-cuda-toolkit \ + pkg-config \ + python3-dev \ + python3-numpy && \ + apt clean && \ + rm -rf /var/lib/apt/lists/* diff --git a/cpp-linux/debian/rules b/cpp-linux/debian/rules index 1d90638..61ff237 100755 --- a/cpp-linux/debian/rules +++ b/cpp-linux/debian/rules @@ -12,7 +12,7 @@ export DEB_BUILD_MAINT_OPTIONS=reproducible=-timeless BUILD_TYPE=release %: - dh $@ --with gir,autoreconf + dh $@ --with gir,autoreconf --no-parallel override_dh_autoreconf: dh_autoreconf \ diff --git a/cpp-linux/package-task.rb b/cpp-linux/package-task.rb index 9f908a9..4b69f1f 100644 --- a/cpp-linux/package-task.rb +++ b/cpp-linux/package-task.rb @@ -214,6 +214,7 @@ def define_apt_task "ubuntu-trusty", "ubuntu-xenial", "ubuntu-artful", + "ubuntu-bionic", ] end targets.each do |target| ---------------------------------------------------------------- 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 With regards, Apache Git Services