Re: RFS: rocm-hipamd/5.2.3-11 -- Heterogeneous Interface for Portability
On 2023-07-20 21:53, Étienne Mollier wrote:
> I'll see if I manage to get somewhere with qemu ppc64el
> emulation next.
I forgot to say: autopkgtest-build-qemu(1) easily creates images, and
autopkgtest can easily make use of them, though not with GPU pass-through.
In package sbuild-qemu, you have sbuild-qemu(1) to use the image for
building, and sbuild-qemu-boot(1) to boot to a console. (There is also
sbuild-qemu-create(1), which slightly enhances autopkgtest-build-qemu.)
# Create the image
$ sudo autopkgtest-build-qemu --architecture ppc64el unstable unstable.img
$ sudo chown $USER: unstable.img
# Build a package
$ sbuild-qemu --image unstable.img --arch ppc64el *.dsc
# Boot to console
$ sbuild-qemu-boot --arch ppc64el unstable.img
Unfortunately, this all requires fairly new dependencies (mostly
bookworm, sbuild-qemu from trixie). These could be backported though,
either officially or to apt.r.d.n.
Best,
Christian
Reply to: