diff options
author | Michel Dänzer <[email protected]> | 2019-12-13 11:02:16 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2020-01-07 11:00:16 +0100 |
commit | 5f0ff004ca8f0e59270f0ea4dc8f13c74ce88e2b (patch) | |
tree | c712fc606d695f0ccc3acbb1ff8e5f9b591ecc83 /.gitlab-ci/container/x86_build.sh | |
parent | 4cd3dc94ad7ba991c960457b9134ce233b5b41ab (diff) |
gitlab-ci: Test against LLVM / clang 9 on x86
They're not available for Debian buster yet, so we have to use upstream
snapshot packages again.
In contrast to earlier, we now store the LLVM APT repository key in Git
instead of re-downloading it every time.
Diffstat (limited to '.gitlab-ci/container/x86_build.sh')
-rw-r--r-- | .gitlab-ci/container/x86_build.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.gitlab-ci/container/x86_build.sh b/.gitlab-ci/container/x86_build.sh index 374d1e8bb86..55aa247492d 100644 --- a/.gitlab-ci/container/x86_build.sh +++ b/.gitlab-ci/container/x86_build.sh @@ -12,9 +12,14 @@ done apt-get install -y \ ca-certificates \ + gnupg \ unzip \ wget +# Upstream LLVM package repository +apt-key add .gitlab-ci/container/llvm-snapshot.gpg.key +echo "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >/etc/apt/sources.list.d/llvm9.list + sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list @@ -34,7 +39,7 @@ apt-get install -y --no-remove \ automake \ autotools-dev \ bison \ - clang-8 \ + clang-9 \ cmake \ flex \ g++ \ @@ -44,6 +49,7 @@ apt-get install -y --no-remove \ libclang-6.0-dev \ libclang-7-dev \ libclang-8-dev \ + libclang-9-dev \ libclc-dev \ libelf-dev \ libepoxy-dev \ @@ -69,6 +75,7 @@ apt-get install -y --no-remove \ llvm-6.0-dev \ llvm-7-dev \ llvm-8-dev \ + llvm-9-dev \ meson \ pkg-config \ python-mako \ @@ -204,6 +211,7 @@ apt-get purge -y \ autotools-dev \ cmake \ git \ + gnupg \ libgbm-dev \ libtool \ unzip \ |