From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id DF364A0093;
	Mon, 15 Jun 2020 00:59:16 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 446A854AE;
	Mon, 15 Jun 2020 00:59:00 +0200 (CEST)
Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com
 [66.111.4.230]) by dpdk.org (Postfix) with ESMTP id A99251150
 for <dev@dpdk.org>; Mon, 15 Jun 2020 00:58:58 +0200 (CEST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47])
 by mailnew.nyi.internal (Postfix) with ESMTP id 15424580130;
 Sun, 14 Jun 2020 18:58:58 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute7.internal (MEProxy); Sun, 14 Jun 2020 18:58:58 -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=SCczyrnYlpVvI
 2de+EC9gFw7t+9eQJ5OS3WcVylhvE8=; b=vMjiLIOvPhLJJuPSM7kZHOczdsF07
 HaRxVhtKfW/NEEZonPw0pTFdYS74ybvu0Vp5txGPkvvC/gPRguuuTeUs3QCAmxRG
 oCcFU6eduYizkLDHgdifC6NGuRkj3QcGI2bRcgxJCm/nPqeDTsL8YKHZkMCDktJi
 zxKQr88n754pbUbMl8atmSXcf9ZipH8IFxRGuL/bpOsK7cbOPIgEMaEmQW4KPGTZ
 SQS9/VP0GjycQad0XHQ1Wff1LtFiUmuUciNvXABQfZYvhEGsYfKK0iRKip56utNQ
 WG7Mqxp1eoxVm0d5Y8wHQX2LtgManstsj1gSG1et9MJjEwcKYctf+FNgw==
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=SCczyrnYlpVvI2de+EC9gFw7t+9eQJ5OS3WcVylhvE8=; b=YnNuM4np
 lV106iPLFL+W2dwEzzYrJvNMZ5+LSLtuRVzwRSY5aZFfg6qK7Q5VlhXQIVxbB25R
 V83k7FtWSx3HhAk8GPFlKSB64xMKUa29ZfPIsigNxwGQklvpb0LI/XPh8w6BXaZ3
 39ST8QHv/O/106rDNsr3FXnXIeLdVkPw5saT2m2+OvHPWvBtIe07aios+q/jSJY8
 J3XVVbnqGeH0v3HpNALqrQvASSP0ZyztZKCKBKJ6IchZgSXIT6mzTuoJMLUdtGD8
 FPpV2bfnUBrziTvpCQDC6L6084Ty8VPkL+SdcC3qpEhAF/AG4l4E/4QAK2fjMBN7
 bu+4TauOSGUQ+g==
X-ME-Sender: <xms:savmXgEHnplnnsWLUAxySN9bJltZkFvL3mGopnm8w2zjp1pUNUYOwg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeijedgudekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg
 uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf
 hiiigvpeefnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl
 ohhnrdhnvght
X-ME-Proxy: <xmx:savmXpX9df20Q-LkjGgnMCluHp9br6ZvhhUxpW6e5RpnlUnOXt4wRg>
 <xmx:savmXqIuzd9T-qqJwlcSYiDmivd4TTdccIPQr2AmvRc_UEiYvgUygA>
 <xmx:savmXiHTfWCSn_XlGweNmOZrevcH6OjuMMPP0jS6Qwr0FK40zr9Q2A>
 <xmx:sqvmXhEX3gCK3bX19jcC1b67DyZrH75_zsQ9NX7opDf6i6Pf8tTMSA>
Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 75C06328005A;
 Sun, 14 Jun 2020 18:58:56 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: david.marchand@redhat.com, bruce.richardson@intel.com,
 drc@linux.vnet.ibm.com, dmitry.kozliuk@gmail.com,
 Harini Ramakrishnan <harini.ramakrishnan@microsoft.com>,
 Omar Cardona <ocardona@microsoft.com>,
 Pallavi Kadam <pallavi.kadam@intel.com>,
 Ranjit Menon <ranjit.menon@intel.com>,
 John McNamara <john.mcnamara@intel.com>,
 Marko Kovacevic <marko.kovacevic@intel.com>
Date: Mon, 15 Jun 2020 00:57:47 +0200
Message-Id: <20200614225747.3839569-5-thomas@monjalon.net>
X-Mailer: git-send-email 2.26.2
In-Reply-To: <20200614225747.3839569-1-thomas@monjalon.net>
References: <20200614225747.3839569-1-thomas@monjalon.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH 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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

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 overriden.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 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 1cde17a2e5..52635c73d1 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 d46e84e3fb..d517f08f0d 100644
--- a/doc/guides/windows_gsg/build_dpdk.rst
+++ b/doc/guides/windows_gsg/build_dpdk.rst
@@ -109,7 +109,7 @@ 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