]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
gitlab-ci: Explicitly install cross libgmp-dev packages
authorNiels Möller <nisse@lysator.liu.se>
Mon, 30 Aug 2021 19:51:08 +0000 (21:51 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 30 Aug 2021 19:51:08 +0000 (21:51 +0200)
.gitlab-ci.yml

index 3ccbbb9f24339699cac1bcc6950566739c7b5867..73256c0a562c19d7792cbf962146406fee3b767c 100644 (file)
@@ -144,9 +144,9 @@ Debian.cross.x86:
   - apt-get update -q
   # remove any previously installed nettle headers to avoid conflicts
   - for arch in armhf arm64 ppc64el;do apt-get remove -y nettle-dev:$arch;done
-  - if [ "$host" == "powerpc64-linux-gnu" ];then apt-get update && apt-get install -y gcc-$host g++-$host && export QEMU_LD_PREFIX=/usr/$host;fi
-  - if [ "$host" == "powerpc64le-linux-gnu" ];then apt-get update && apt-get install -y gcc-$host g++-$host && export QEMU_LD_PREFIX=/usr/$host;fi
-  - if [ "$host" == "s390x-linux-gnu" ];then apt-get update && apt-get install -y gcc-$host g++-$host libc6:s390x && export EXTRA_CONFIGURE_FLAGS='--disable-assembler';fi
+  - if [ "$host" == "powerpc64-linux-gnu" ];then apt-get update && apt-get install -y gcc-$host g++-$host libgmp-dev:ppc64 && export QEMU_LD_PREFIX=/usr/$host;fi
+  - if [ "$host" == "powerpc64le-linux-gnu" ];then apt-get update && apt-get install -y gcc-$host g++-$host libgmp-dev:ppc64el && export QEMU_LD_PREFIX=/usr/$host;fi
+  - if [ "$host" == "s390x-linux-gnu" ];then apt-get update && apt-get install -y gcc-$host g++-$host libgmp-dev:s390x && export EXTRA_CONFIGURE_FLAGS='--disable-assembler';fi
   script:
   - build=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
   - host="${CI_JOB_NAME#*.cross.}"