From patchwork Thu Jan 4 16:08:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 759863 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp7051389wrw; Thu, 4 Jan 2024 08:09:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxW84k9e6p5lFZrQtnplC72ArQECZhRXcu4YY6pigzUfnRIqsSbwCNN6vJS/sDE6tFmNd+ X-Received: by 2002:ac8:59cd:0:b0:423:70f4:c28d with SMTP id f13-20020ac859cd000000b0042370f4c28dmr975019qtf.67.1704384596566; Thu, 04 Jan 2024 08:09:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704384596; cv=none; d=google.com; s=arc-20160816; b=emt23VAyY6D23HT8jjuQbvYuQSDtJbFjB6oFHnTxSHS9Kdas4tHrI+I646X2tMasqv w3gGfij2hvSqqEsG21DpBxoes6ZdGd6lkEWaKPErwhpD7wJ6KWa27nseoJHEn7iOx5M2 b9/Egau4k3m6fWhCw5Ibctfg0vuk6UIJHttmBvffKrr8rHg49cBWQ52aMjS5ZuEuAFo6 IVs/tkmAQvdbmh1Xrdu/czcs/Yk+EsPPgO9kD2x5ObO+5Haj3kCoXpOSocpo7oHWJBH0 CFrJ6bHFi4zEPEs7jaczoP+UdmwUdO0DQHlSXyAyGwe7XORFNTwzbbgK8iWZtYjXT9Iy 1hJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=gnUpQLZU43UMHi7KSxzqXqyNfCHjYuiQzoZigtRlS5I=; fh=R3RNw6DaBvLV+evL+FxxoxDT7CjbnpLl/Z/5KY3qROI=; b=HrIeg8N+LxvGmvq72lAaeScePI8Swm94CnSl6wMs2KOsa6LgoR4jnXykxia3RaluSO FpE96G6Ukk4QCf4/VOUzwyq/GCr4h4X1eT4NBuAhPBRq+XYqBMid0uATZiHBPjtwkNaM gHVkPnOE9R5eyUODP00b4Tc4KT7MA3ngrrqtwkGOB2yIMrHuxkf5TkeN8zuxkGQuhnPT 7CTg/tjLyrKHY42SPW1QiH46GmrfICOG5kiriNpKXSUba1MPyPeK6hGljf+H7U3RV/GF V+afiQUvLJWkO3gZaL1QJo65v0EYbl8qf4d7r5jvribj8ASZT7Ac6xPDdq9sgj51qxmm SUcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e4qJJN0C; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j22-20020ac85c56000000b00428258cf4d4si8212926qtj.583.2024.01.04.08.09.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jan 2024 08:09:56 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e4qJJN0C; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLQH0-0005Wo-N6; Thu, 04 Jan 2024 11:08:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rLQGz-0005WI-86 for qemu-devel@nongnu.org; Thu, 04 Jan 2024 11:08:45 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rLQGw-0007uo-Jv for qemu-devel@nongnu.org; Thu, 04 Jan 2024 11:08:44 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50e7dd8bce8so763535e87.1 for ; Thu, 04 Jan 2024 08:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704384521; x=1704989321; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gnUpQLZU43UMHi7KSxzqXqyNfCHjYuiQzoZigtRlS5I=; b=e4qJJN0CiwSjwh0wWiRS67LFQ3OG9p9zUut5uMCIDsnqqsRkwP3uwGeQ1EvB6s2/72 364UgKIrPXrgUpNfuwuTDBC90Rc+STMDxnVbNpOezKXdrP0j0Y5kw5XTw8QaR6jTKRO9 SQxxDFu334h6fA0cdLi1Z8tanP4urOUdp58Kg8BLKciAJHzNpvUOIr5Zd+niqiHLX8Yj WASPYIcFMXTVKQv882XVJMmWRHnpqxsEazSQv7C/hf+m6DX40cvJ1Iw8Sjy7r9kDxDjE 4OjXjlah/JzRxp4DSb/nhHOycUnrux6dFBohew1Fdri9vCbEY7nB+txrEtxIGQk7vfpd UyNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704384521; x=1704989321; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gnUpQLZU43UMHi7KSxzqXqyNfCHjYuiQzoZigtRlS5I=; b=rohyOyhMIcEmqrZAVpvEG6BJGE1SCIP6d1oOrRK2cseIZcsCl9xjwEC1bp7VEAGSBB w+ONg99KgyXlqpC91T6r8LhqpyE8QO2bx6VcFybZ7hXay2554MyyZ4VqW8eGNsFj3wQn BcAKcW1QOs2dqvysFUcRlMa1XcN/CXCljxKVasgDP6IfeMQFWTIr0Ut0MtGfC4JC21pc 8pw5EZ+gW5b/Gc89uOxdmh7XwdJjtjWeY/96dacXXFNmj+28qdVUXBImXS0XPo6ZCPGf T30LbD3MF4vQlzM5apvAN6KvZxa2s8RoYMzA1vdhLhC95u6uMeTxXkiJ17w73ED4fMyV WBig== X-Gm-Message-State: AOJu0YxEdII5m2oILwf1Cesl1IHrCw7yj9R4yvSV1OhcSNnCGjSfQxgq 0oJfWLHom9QcvWorDe/7RJnVgV1Y03yqRGf+7bK4tHNSwGK1Uw== X-Received: by 2002:ac2:4e91:0:b0:50e:7a9e:4846 with SMTP id o17-20020ac24e91000000b0050e7a9e4846mr417337lfr.70.1704384520790; Thu, 04 Jan 2024 08:08:40 -0800 (PST) Received: from m1x-phil.lan ([176.187.194.232]) by smtp.gmail.com with ESMTPSA id ey18-20020a1709070b9200b00a26af6131e0sm13162492ejc.7.2024.01.04.08.08.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 04 Jan 2024 08:08:40 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Tianrui Zhao , Song Gao , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , Wainer dos Santos Moschetta , Xianglai Li , Zhiguo Wu , Erik Skultety , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Xiaojuan Yang , =?utf-8?q?Alex_Benn=C3=A9e?= , Beraldo Leal Subject: [RFC PATCH 5/9] scripts/ci: Restrict libpmem-devel package to x86 hosts Date: Thu, 4 Jan 2024 17:08:01 +0100 Message-ID: <20240104160805.56856-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240104160805.56856-1-philmd@linaro.org> References: <20240104160805.56856-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=philmd@linaro.org; helo=mail-lf1-x129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org libpmem-devel is not available for all host archs. Signed-off-by: Philippe Mathieu-Daudé --- scripts/ci/setup/build-environment.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/ci/setup/build-environment.yml b/scripts/ci/setup/build-environment.yml index 9518cc55a5..280e67593c 100644 --- a/scripts/ci/setup/build-environment.yml +++ b/scripts/ci/setup/build-environment.yml @@ -247,7 +247,6 @@ - libiscsi-devel - libjpeg-devel - libnfs-devel - - libpmem-devel - libpng-devel - librbd-devel - libseccomp-devel @@ -318,6 +317,14 @@ - ansible_facts['distribution_file_variety'] in ['RedHat'] - ansible_facts['distribution_version'] == '8' + - name: Install arch-specific packages (RH family) + dnf: + name: + - libpmem-devel + when: + - ansible_facts['os_family'] == 'RedHat' + - ansible_facts['architecture'] == 'x86_64' + - name: Install Spice packages dnf: # Spice server not available in ppc64le