From: Niels Möller Date: Mon, 29 Jun 2020 12:05:54 +0000 (+0200) Subject: gitlab-ci: Add cross tests for powerpc64 X-Git-Tag: nettle_3.7rc1~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3ab245d65e25638c4b1031eda3a08c0336a5ec9;p=thirdparty%2Fnettle.git gitlab-ci: Add cross tests for powerpc64 --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f3b5c63..f0923eb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -137,8 +137,12 @@ Debian.cross.x86: .Debian.cross.template: &Debian_cross_template image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_CROSS_BUILD before_script: + - host="${CI_JOB_NAME#*.cross.}" + - dpkg --add-architecture ppc64el + - apt-get update -q # remove any previously installed nettle headers to avoid conflicts - - for arch in armhf mips arm64;do apt-get remove -y nettle-dev:$arch;done + - for arch in armhf mips arm64 ppc64el;do apt-get remove -y nettle-dev:$arch;done + - if [ "$host" == "powerpc64le-linux-gnu" ];then apt-get update && apt-get install -y gcc-$host g++-$host && export QEMU_LD_PREFIX=/usr/$host;fi script: - build=$(dpkg-architecture -qDEB_HOST_GNU_TYPE) - host="${CI_JOB_NAME#*.cross.}" @@ -162,3 +166,5 @@ Debian.cross.mips-linux-gnu: <<: *Debian_cross_template Debian.cross.aarch64-linux-gnu: <<: *Debian_cross_template +Debian.cross.powerpc64le-linux-gnu: + <<: *Debian_cross_template diff --git a/ChangeLog b/ChangeLog index c3d1b4fa..ad6c6875 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-06-29 Niels Möller + + * .gitlab-ci.yml: Add cross tests for powerpc64le, based on patch + by Maamoun TK. + 2020-06-25 Niels Möller * x86_64/chacha-core-internal.asm (QROUND): Fix use of macro