[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nettle-bugs
Subject:    Re: Add ppc64le arch to Gitlab CI
From:       Michael Weiser <michael.weiser () gmx ! de>
Date:       2020-07-21 10:26:14
Message-ID: 20200721102614.GD15623 () weiser ! dinsnail ! net
[Download RAW message or body]

Hello Niels,

On Tue, Jun 23, 2020 at 09:50:20AM +0200, Niels Möller wrote:

> > I investigated this issue. The Debian image used for Gitlab CI only
> > supports the following archs amd64 mips armhf arm64. To add a new arch,
> > this arch should be added to the sources list of apt and install the
> > required packages to build and check nettle library.
> Looks like the image is defined here:
> https://gitlab.com/gnutls/build-images/-/blob/master/docker-debian-cross/Dockerfile

> Nikos, Michael, can we just add ppc64el to the ARCHES and TRIPLES lists
> there?

Sorry for the delay: In principile yes but as you've noticed already,
the number of supported drop-in architectures is limited. I had
additional unofficial architectures supported when developing the
mechanism but it wasn't as straight-forward and prone to breakage. Therefore
it did not make it upstream into GnuTLS's build-images.

If I understood the rest of the thread correctly, you've found a
workaround using a cross-package, which seems a better way to go than
fiddling with the unofficial architecture support, particularly if you
do not want to or cannot change the build-images repo.

For reference: This GnuTLS .gitlab-ci.yml has ppc64le support from way
back when: https://gitlab.com/michaelweiser/gnutls/-/blob/debian/.gitlab-ci.yml
and here's the corresponding build-images Dockefile:
https://gitlab.com/michaelweiser/build-images/-/blob/cross/docker-debian-cross/Dockerfile.
It seems, I had ppc64le in there and without much hassle as well. YMMV.
-- 
Michael
_______________________________________________
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic