qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>,
	"Tianrui Zhao" <zhaotianrui@loongson.cn>,
	"Song Gao" <gaosong@loongson.cn>,
	"Daniel P . Berrangé" <berrange@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Xianglai Li" <lixianglai@loongson.cn>,
	"Zhiguo Wu" <wuzhiguo@loongson.cn>,
	"Erik Skultety" <eskultet@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Xiaojuan Yang" <yangxiaojuan@loongson.cn>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Beraldo Leal" <bleal@redhat.com>
Subject: [RFC PATCH 9/9] scripts/ci: Restrict libpmem-dev and libxen-dev packages to x86 hosts
Date: Thu,  4 Jan 2024 17:08:05 +0100	[thread overview]
Message-ID: <20240104160805.56856-10-philmd@linaro.org> (raw)
In-Reply-To: <20240104160805.56856-1-philmd@linaro.org>

libpmem-dev / libxen-dev are not available for all host archs.

Signed-off-by: Philippe Mathieu-Daudé <philmd@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



      parent reply	other threads:[~2024-01-04 16:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 16:07 [RFC PATCH 0/9] scripts/ci: Consolidate Ansible playbook rules Philippe Mathieu-Daudé
2024-01-04 16:07 ` [PATCH 1/9] scripts/ci: Do not enforce gitlab-runner path Philippe Mathieu-Daudé
2024-01-04 16:07 ` [PATCH 2/9] scripts/ci: Do not restrict spice package to x86/arm hosts Philippe Mathieu-Daudé
2024-01-04 16:07 ` [RFC PATCH 3/9] scripts/ci: Split EL8 specific packages out of Centos8 list Philippe Mathieu-Daudé
2024-01-04 16:08 ` [RFC PATCH 4/9] scripts/ci: Update Centos8 package list Philippe Mathieu-Daudé
2024-01-04 16:08 ` [RFC PATCH 5/9] scripts/ci: Restrict libpmem-devel package to x86 hosts Philippe Mathieu-Daudé
2024-01-04 16:08 ` [RFC PATCH 6/9] scripts/ci: Install libxdp-devel on " Philippe Mathieu-Daudé
2024-01-04 16:08 ` [RFC PATCH 7/9] scripts/ci: Install RH packages on RH derivative distros Philippe Mathieu-Daudé
2024-01-04 16:08 ` [RFC PATCH 8/9] scripts/ci: Update Ubuntu packages list Philippe Mathieu-Daudé
2024-01-04 16:08 ` Philippe Mathieu-Daudé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240104160805.56856-10-philmd@linaro.org \
    --to=philmd@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=berrange@redhat.com \
    --cc=bleal@redhat.com \
    --cc=eskultet@redhat.com \
    --cc=gaosong@loongson.cn \
    --cc=lixianglai@loongson.cn \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=wainersm@redhat.com \
    --cc=wuzhiguo@loongson.cn \
    --cc=yangxiaojuan@loongson.cn \
    --cc=zhaotianrui@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).