From f900af146c3eb779c65ee901408af8cc091b23ce Mon Sep 17 00:00:00 2001 From: Kellen Sunderland Date: Mon, 10 Sep 2018 16:30:58 +0200 Subject: [PATCH] WIP --- ci/docker/Dockerfile.build.ubuntu_cpu | 3 +++ ci/docker/install/ubuntu_gcc8.sh | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100755 ci/docker/install/ubuntu_gcc8.sh diff --git a/ci/docker/Dockerfile.build.ubuntu_cpu b/ci/docker/Dockerfile.build.ubuntu_cpu index 6751465758c8..f45c8da4af87 100755 --- a/ci/docker/Dockerfile.build.ubuntu_cpu +++ b/ci/docker/Dockerfile.build.ubuntu_cpu @@ -48,6 +48,9 @@ RUN /work/ubuntu_perl.sh COPY install/ubuntu_clang.sh /work/ RUN /work/ubuntu_clang.sh +COPY install/ubuntu_gcc8.sh /work/ +RUN /work/ubuntu_gcc8.sh + COPY install/ubuntu_mklml.sh /work/ RUN /work/ubuntu_mklml.sh diff --git a/ci/docker/install/ubuntu_gcc8.sh b/ci/docker/install/ubuntu_gcc8.sh new file mode 100755 index 000000000000..48fd3541f62d --- /dev/null +++ b/ci/docker/install/ubuntu_gcc8.sh @@ -0,0 +1,23 @@ +#!/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. + +sudo add-apt-repository ppa:jonathonf/gcc-8.0 +sudo add-apt-repository ppa:jonathonf/gcc-7.3 +sudo apt-get update +sudo apt-get install -y gcc-8