From patchwork Thu Aug 31 12:10:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 130975 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5743E41FDD; Thu, 31 Aug 2023 14:11:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C1F74029E; Thu, 31 Aug 2023 14:11:30 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id C844240296 for ; Thu, 31 Aug 2023 14:11:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693483889; x=1725019889; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mPAygClXex7SYJfHRQ3Lf37tuwtk2A8jvWUTgjlR84Q=; b=LeiUIrvMSWa/GeKFE4dE2PfixTl7gr44OapJ7yodKm4QTsE1xc4f5GKb fACQSD8VT4Iro1fPTBbUASmNocNE+jZcEwOGlBn567r9sT6UQNFDPFD8/ I0WHwAfXymM443ofEToXMoRvQWB+36jn/dSUuBLLmptFJaFg/my7ElHZz U34psuu5kXU4nwU5S0FMdvLAyk0UVW5mMFFGPw0V1VwelQKmdW4P0U6Xj K9MJNyA0C+xI0wpOE/7tpiHL2F6d10Rlm5Jhhz6v6EuVJ8ouprN1a7gpU 3XtBsd0Xw8TmyztPkt7Q8u3AcO3lgIBFABAgOrpNjAdq9wAYIaeVliMdk Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10818"; a="373320741" X-IronPort-AV: E=Sophos;i="6.02,216,1688454000"; d="scan'208";a="373320741" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2023 05:11:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10818"; a="1070238964" X-IronPort-AV: E=Sophos;i="6.02,216,1688454000"; d="scan'208";a="1070238964" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by fmsmga005.fm.intel.com with ESMTP; 31 Aug 2023 05:11:27 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 3/3] devtools: enable testing ppc builds on ubuntu Date: Thu, 31 Aug 2023 13:10:58 +0100 Message-Id: <20230831121058.725577-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230831121058.725577-1-bruce.richardson@intel.com> References: <20230831121058.725577-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org When running PPC builds with the packaged Ubuntu compiler, a different cross-file needs to be used. Adjust the test-meson-builds script to take account of this, so that developers can easier pick up on errors. Signed-off-by: Bruce Richardson Acked-by: Tyler Retzlaff --- devtools/test-meson-builds.sh | 3 +++ 1 file changed, 3 insertions(+) -- 2.39.2 diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index c41659d28b..605a855999 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -282,6 +282,9 @@ build build-loongarch64-generic-gcc $f ABI $use_shared # IBM POWER f=$srcdir/config/ppc/ppc64le-power8-linux-gcc +if grep -q 'NAME="Ubuntu"' /etc/os-release ; then + f=$f-ubuntu +fi build build-ppc64-power8-gcc $f ABI $use_shared # generic RISC-V