]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
gitlab-ci: Add cross tests for powerpc64
authorNiels Möller <nisse@lysator.liu.se>
Mon, 29 Jun 2020 12:05:54 +0000 (14:05 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 29 Jun 2020 12:05:54 +0000 (14:05 +0200)
.gitlab-ci.yml
ChangeLog

index 9f3b5c6330dee04761db271ad8ae46ed3f92c6b7..f0923eb6f092ae47e57e97e05fbb7a6655c51f3a 100644 (file)
@@ -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
index c3d1b4fabdf73e76a6f47735fa18a107e00896ba..ad6c6875f346e27d1b461bbcdd70050983a80355 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-29  Niels Möller  <nisse@lysator.liu.se>
+
+       * .gitlab-ci.yml: Add cross tests for powerpc64le, based on patch
+       by Maamoun TK.
+
 2020-06-25  Niels Möller  <nisse@lysator.liu.se>
 
        * x86_64/chacha-core-internal.asm (QROUND): Fix use of macro