From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E663A0544; Wed, 8 Jun 2022 17:50:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7227A4069C; Wed, 8 Jun 2022 17:50:57 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id EFC7440687 for ; Wed, 8 Jun 2022 17:50:55 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6D7115C0220; Wed, 8 Jun 2022 11:50:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 08 Jun 2022 11:50:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1654703455; x=1654789855; bh=LuxbJ0os0KtdHQZ1B63aJLfOW CmMRpwSRBD+hufWhBc=; b=AAtEC70dqTWgKQt0P56P3rsgQ6T3yQPjej1/4koFj CpJhckNM66q2RhOEP+6Qj6zjTaMpJU4JYSdrfvnF69yjCLFVLQrRSSqFDCzLyFx0 4SFL8+tIP2dPKr2dd7uJwt04eCZUJH4B4910FYaAgIlemS746UeqjYWHz0+YtyC5 gr3mK/LnRh6/bBqoudXWJwUYnAIHtLgbhbopyHHKpbHOhDWgxmKbY9fMRb34jxKq tMhVA+cUTqbfQ+flJXHbjxjDXlToYr4hiQJMt1WuM5ah2s0O7Y8NEYzbT24t/ePS geS0IPSjMBzy1w1WattfdT5H/W7d9V/c6UZBw4CPpTjpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1654703455; x=1654789855; bh=LuxbJ0os0KtdHQZ1B63aJLfOWCmMRpwSRBD +hufWhBc=; b=wQtarKN6/EJDOEMJE67pW3TjSlEbsvsmdWw+W6O37pIrqLKFxfL JzczC3dwwm1zZ6b/jjQ+rdAWkXYZjELmZSdqOqoKwoRkc4e4XWyra5o2uYZj/6qA QciVptRMVO5aMEYuv22HYYLdIIIteRonqN77u5kjzfLN6qN7vwDXENS6tCT11M96 ZJp8HPozrn5uyEFY2L4CEAIs8bc1v+mfHS7dLGNm3mm7VTmhDVRMb734nWk2lYa4 Xl4zOR3pAzrRxlo5si5aDTXk4yoI8VSUT5xUFonWci9sJ+qnMGgkGrdZjOKbOl/K iEGWwkvAK9LQa6TG0xYoy4gFQApkx50dTOA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddtjedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeevveefveeiiefhtedukeegkeelieegffeukeevudetueffieduveet iedukeefleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Jun 2022 11:50:54 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson Subject: [PATCH] devtools: unify cross-compilation tests Date: Wed, 8 Jun 2022 17:50:43 +0200 Message-Id: <20220608155044.4128611-1-thomas@monjalon.net> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Reduce the number of Arm builds from 3 to 1: only generic armv8 with GCC. The specific PPC builds on Ubuntu are skipped. The build directories for PPC and RISC-V are also renamed for consistency: - build-arm64-generic-gcc - build-ppc64-power8-gcc - build-riscv64-generic-gcc The cross file is always saved in variable "f" for readability. Signed-off-by: Thomas Monjalon --- devtools/test-meson-builds.sh | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index f732dccf6c..2cdc2d813d 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -253,31 +253,20 @@ if check_cc_flags '-m32' ; then fi # x86 MinGW -build build-x86-mingw $srcdir/config/x86/cross-mingw skipABI \ - -Dexamples=helloworld +f=$srcdir/config/x86/cross-mingw +build build-x86-mingw $f skipABI -Dexamples=helloworld -# generic armv8a with clang as host compiler +# generic armv8 f=$srcdir/config/arm/arm64_armv8_linux_gcc -export CC="clang" -build build-arm64-host-clang $f ABI $use_shared -unset CC -# some gcc/arm configurations -for f in $srcdir/config/arm/arm64_[bdo]*gcc ; do - export CC="$CCACHE gcc" - targetdir=build-$(basename $f | tr '_' '-' | cut -d'-' -f-2) - build $targetdir $f skipABI $use_shared - unset CC -done +build build-arm64-generic-gcc $f ABI $use_shared -# ppc configurations -for f in $srcdir/config/ppc/ppc* ; do - targetdir=build-$(basename $f | cut -d'-' -f-2) - build $targetdir $f ABI $use_shared -done +# IBM POWER +f=$srcdir/config/ppc/ppc64le-power8-linux-gcc +build build-ppc64-power8-gcc $f ABI $use_shared -# RISC-V configuration -build build-riscv64-linux-gcc $srcdir/config/riscv/riscv64_linux_gcc ABI \ - $use_shared +# generic RISC-V +f=$srcdir/config/riscv/riscv64_linux_gcc +build build-riscv64-generic-gcc $f ABI $use_shared # Test installation of the x86-generic target, to be used for checking # the sample apps build using the pkg-config file for cflags and libs -- 2.36.0