From 8f5a252d350cb1abcad13f7d637548a8e0e7da33 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 14 Feb 2020 15:47:20 +1000 Subject: [PATCH] ci: bump debian image and change llvm deps to 8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit v3: remove version in a few places (Michel) Reviewed-by: Michel Dänzer Reviewed-by: Adam Jackson Tested-by: Marge Bot Part-of: --- .gitlab-ci.yml | 4 +--- .gitlab-ci/container/x86_build.sh | 12 +++--------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac2648c..9e70ce8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -112,7 +112,7 @@ x86_build: - .debian@container-ifnot-exists - .container variables: - DEBIAN_TAG: &x86_build "2020-02-05" + DEBIAN_TAG: &x86_build "2020-02-15" .use-x86_build: variables: @@ -473,7 +473,6 @@ meson-s390x: variables: CROSS: s390x GALLIUM_DRIVERS: "swrast" - LLVM_VERSION: "7" script: - dpkg -i /var/cache/apt/archives/$CROSS/*.deb - .gitlab-ci/meson-build.sh @@ -484,7 +483,6 @@ meson-ppc64el: variables: CROSS: ppc64el GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl" - LLVM_VERSION: "8" VULKAN_DRIVERS: "amd" meson-mingw32-x86_64: diff --git a/.gitlab-ci/container/x86_build.sh b/.gitlab-ci/container/x86_build.sh index 7fcb32e..9170c84 100644 --- a/.gitlab-ci/container/x86_build.sh +++ b/.gitlab-ci/container/x86_build.sh @@ -76,6 +76,7 @@ apt-get install -y --no-remove \ libxvmc-dev \ libxxf86vm-dev \ llvm-6.0-dev \ + llvm-7-dev \ llvm-9-dev \ meson \ pkg-config \ @@ -97,29 +98,22 @@ for arch in $CROSS_ARCHITECTURES; do libelf-dev:${arch} \ libexpat1-dev:${arch} - if [ "$arch" = "s390x" ]; then - LLVM_VERSION=7 - else - LLVM_VERSION=8 - fi - if [ "$arch" != "i386" ]; then mkdir /var/cache/apt/archives/${arch} apt-get install -y --no-remove \ libffi-dev:${arch} \ - libllvm${LLVM_VERSION}:${arch} \ + libllvm8:${arch} \ libstdc++6:${arch} \ libtinfo-dev:${arch} \ # Download llvm-* packages, but don't install them yet, since they can # only be installed for one architecture at a time apt-get install -o Dir::Cache::archives=/var/cache/apt/archives/$arch --download-only -y --no-remove \ - llvm-${LLVM_VERSION}-dev:${arch} + llvm-8-dev:${arch} fi done apt-get install -y --no-remove \ - llvm-7-dev \ llvm-8-dev \ # for 64bit windows cross-builds -- 2.7.4