From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B954A04A3; Tue, 16 Jun 2020 00:23:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 13ACB5F69; Tue, 16 Jun 2020 00:22:59 +0200 (CEST) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by dpdk.org (Postfix) with ESMTP id 4B8052B87 for ; Tue, 16 Jun 2020 00:22:57 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id BA730580373; Mon, 15 Jun 2020 18:22:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 15 Jun 2020 18:22:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=ncohCQfbOQyDN aRXO9tm/lLFUR2a1hM86AimQZG+UKI=; b=fYo+xtGh8rDL4EE4nBzVkaXm+jby0 l8GtM7DkCkXQElLYJk7zNd7xCX7i8h3XgzOcsjG9+mALLcZtgNBUjoxtfSM8LbzW 1PVOhp7SM3gP9dRj36DX0MIHF5zCYXR/0OJgXCj2dUhrlNymawdPrsRRcNchzgcx SGIA2kC0WzVRuKjOF9f390G5P7zmtBb03Nn8CQBg18pwCB4/nzEOqRuCnpNEn7dR 9z7jSoFCBpjhu1UNQkVluB5X79lCffb28MfNZq2+A9+d14OxnQtLW3QULcd1Hi3p 2exIAnF5J8ZJzP+013ujExWPX4m99O4y3r+k/83i61SNhKn3DeN9iUGPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=ncohCQfbOQyDNaRXO9tm/lLFUR2a1hM86AimQZG+UKI=; b=Najbcwey khTDV6FiY8i7mLpf9AMiZ0LAOAUq5sj0p4iq3aoyRYxMjjODB7eBth3+BG43L2Qa 3+G7oCE2vFVYU3PtvqqB2sDZ8Z59ccaWXyetUARcfxF2XAMqoB3HBACyTFjOUX+c WNeqAUPh1JyUHuaHK63aFyj0tuxFNWmfzc6IcvlrbaEfohNr3ww8iXNYqwYin/0U MCRc+g8ng9s1fp6p0zOIRMQmbfFK/HLvJgnvUG+Zr6soktDkskpbS98r4yxPqRDw 8gP8lNPnukk3GTtnoGY8AbuJ6Xzl1pQv1crg2IdnHxK491F1Ccrs7g45y1q6k9r1 o4NpZTXS/gj7ig== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeiledguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 38D123060FE7; Mon, 15 Jun 2020 18:22:55 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: david.marchand@redhat.com, bruce.richardson@intel.com, drc@linux.vnet.ibm.com, dmitry.kozliuk@gmail.com, Harini Ramakrishnan , Omar Cardona , Pallavi Kadam , Ranjit Menon , John McNamara , Marko Kovacevic Date: Tue, 16 Jun 2020 00:22:36 +0200 Message-Id: <20200615222236.1894695-5-thomas@monjalon.net> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200615222236.1894695-1-thomas@monjalon.net> References: <20200614225747.3839569-1-thomas@monjalon.net> <20200615222236.1894695-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 4/4] devtools: add Windows cross-build test with MinGW X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The Meson cross file is renamed from meson_mingw.txt to cross-mingw, and is added to test-meson-builds.sh. The only example supported on Windows so far is "helloworld", that's why the default list of examples is overridden. Signed-off-by: Thomas Monjalon --- config/x86/{meson_mingw.txt => cross-mingw} | 0 devtools/test-meson-builds.sh | 3 +++ doc/guides/windows_gsg/build_dpdk.rst | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) rename config/x86/{meson_mingw.txt => cross-mingw} (100%) diff --git a/config/x86/meson_mingw.txt b/config/x86/cross-mingw similarity index 100% rename from config/x86/meson_mingw.txt rename to config/x86/cross-mingw diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index eaa215f13e..64a022ccf1 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -200,6 +200,9 @@ if [ "$ok" = "false" ] ; then fi build build-x86-default cc -Dlibdir=lib -Dmachine=$default_machine $use_shared +# x86 MinGW +build build-x86-mingw $srcdir/config/x86/cross-mingw -Dexamples=helloworld + # generic armv8a with clang as host compiler f=$srcdir/config/arm/arm64_armv8_linux_gcc export CC="clang" diff --git a/doc/guides/windows_gsg/build_dpdk.rst b/doc/guides/windows_gsg/build_dpdk.rst index 650483e3be..249e029c4e 100644 --- a/doc/guides/windows_gsg/build_dpdk.rst +++ b/doc/guides/windows_gsg/build_dpdk.rst @@ -109,5 +109,5 @@ Depending on the distribution, paths in this file may need adjustments. .. code-block:: console - meson --cross-file config/x86/meson_mingw.txt -Dexamples=helloworld build + meson --cross-file config/x86/cross-mingw -Dexamples=helloworld build ninja -C build -- 2.26.2