libpmem-dev / libxen-dev are not available for all host archs. Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> --- scripts/ci/setup/build-environment.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/scripts/ci/setup/build-environment.yml b/scripts/ci/setup/build-environment.yml index 988aef3a07..8b5b8e1dbd 100644 --- a/scripts/ci/setup/build-environment.yml +++ b/scripts/ci/setup/build-environment.yml @@ -96,7 +96,6 @@ - libpcre2-dev - libpipewire-0.3-dev - libpixman-1-dev - - libpmem-dev - libpng-dev - libpulse-dev - librbd-dev @@ -120,7 +119,6 @@ - libvdeplug-dev - libvirglrenderer-dev - libvte-2.91-dev - - libxen-dev - libxml2-dev - libzstd-dev - llvm @@ -158,6 +156,17 @@ - ansible_facts['distribution'] == 'Ubuntu' - ansible_facts['distribution_version'] == '22.04' + - name: Install arch-specific packages (Ubuntu 22.04) + dnf: + name: + - libpmem-dev + - libxen-dev + when: + - ansible_facts['distribution'] == 'Ubuntu' + - ansible_facts['distribution_version'] == '22.04' + - ansible_facts['architecture'] == 'x86_64' + + - name: Install armhf cross-compile packages to build QEMU on AArch64 Ubuntu 22.04 package: name: -- 2.41.0