summaryrefslogtreecommitdiff
path: root/.gitlab-ci/container/cross_build.sh
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci/container/cross_build.sh')
-rw-r--r--.gitlab-ci/container/cross_build.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/.gitlab-ci/container/cross_build.sh b/.gitlab-ci/container/cross_build.sh
index 58f449f7cf5..bfbac4f520b 100644
--- a/.gitlab-ci/container/cross_build.sh
+++ b/.gitlab-ci/container/cross_build.sh
@@ -7,8 +7,7 @@ export DEBIAN_FRONTEND=noninteractive
# Ephemeral packages (installed for this script and removed again at the end)
STABLE_EPHEMERAL=" \
- libpciaccess-dev:$arch \
- wget \
+ libpciaccess-dev:$arch
"
dpkg --add-architecture $arch
@@ -23,8 +22,14 @@ apt-get install -y --no-remove \
libstdc++6:$arch \
libtinfo-dev:$arch
+if [[ $arch == "armhf" ]]; then
+ LLVM=llvm-7-dev
+else
+ LLVM=llvm-8-dev
+fi
+
apt-get install -y --no-remove -t buster-backports \
- llvm-8-dev:$arch
+ $LLVM:$arch
. .gitlab-ci/create-cross-file.sh $arch