summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2019-04-11 18:38:30 +0200
committerMichel Dänzer <[email protected]>2019-04-16 10:57:55 +0200
commit9b2473c7a4427371f9c7ab07ee3c4408b9995207 (patch)
tree8555e2a53008670c34e44121dafd627ef87091fa
parent5789bd935eb90332fa8976e9df413f4236fe6cb8 (diff)
gitlab-ci: Use LLVM 3.4 from Debian jessie for scons-llvm job
This gets us closer to the officially supported minimum version of LLVM, which is 3.3. Acked-by: Eric Engestrom <[email protected]>
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--.gitlab-ci/debian-install.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 105b19f0813..3212432d5fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -315,7 +315,9 @@ scons-llvm:
variables:
SCONS_TARGET: "llvm=1"
SCONS_CHECK_COMMAND: "scons llvm=1 check"
- LLVM_VERSION: "3.9"
+ LLVM_VERSION: "3.4"
+ # LLVM 3.4 packages were built with an old libstdc++ ABI
+ CXX: "g++ -D_GLIBCXX_USE_CXX11_ABI=0"
scons-swr:
extends: .scons-build
diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
index 044ff68d08b..8bbd451e422 100644
--- a/.gitlab-ci/debian-install.sh
+++ b/.gitlab-ci/debian-install.sh
@@ -19,9 +19,11 @@ add-apt-repository "deb https://apt.llvm.org/stretch/ llvm-toolchain-stretch-8 m
sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
echo 'deb https://deb.debian.org/debian stretch-backports main' >/etc/apt/sources.list.d/backports.list
+echo 'deb https://deb.debian.org/debian jessie main' >/etc/apt/sources.list.d/jessie.list
apt-get update
apt-get install -y -t stretch-backports \
+ llvm-3.4-dev \
llvm-3.9-dev \
libclang-3.9-dev \
llvm-5.0-dev \