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 8DA4EA0530; Wed, 12 Feb 2020 00:57:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 44A5C2B87; Wed, 12 Feb 2020 00:57:44 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 1963E293C for ; Wed, 12 Feb 2020 00:57:43 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B141121B01; Tue, 11 Feb 2020 18:57:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 11 Feb 2020 18:57:42 -0500 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=mesmtp; bh=PfyX+tK5gM rBvuS8lXTY2jmTOtDAKb10oxUPIfr8i10=; b=pBbOBKg89OY+nFgxl9EEJQLbG1 iMsWDBWazwXBvX6K6yPoNFBuwVFn4mVbmbAdIqzn53wc7s4+TDdZspOtaJsFZHb8 pPwEt2zh+on4upak2ZnerguLtVpxKa679vxA8fv4e55Cac9kXRqDiDnEu/+7YgEN wL7Sl68BgOQ4M+wM4= 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= fm2; bh=PfyX+tK5gMrBvuS8lXTY2jmTOtDAKb10oxUPIfr8i10=; b=jXMr4Mj5 cCdXdwekgO5VW8Alpg5HWWoxobfqoZXUJIQ5a2h03lRhu1COvziI/xtX8n/G6Fay rZ6MOaE5HMxjFj8gZJuSBdeVS7fS8gbwzUGgkvZTUQAYywqQp3FhYz7NDOcsjvRw TNEgzg2uMHRkowLBGLQw33F030pA4i+fj2z/2oAnqmU+d9A9fvC2HRYh3Ar9AGvz wV0L2BH2O90eWuGFbQsCydly17Cs1Uj1tmelRTrw2/EJjnkY/fvOR75h5d5SPeyr QRrXyqOfzJe5I85YLi01+n2sxF29poWZ4TZWbzfnENmOKHuPKEBFBBgRn1Q5gsPs 55pLOdg1bKgqNA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieeggddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgepudenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 6F3123060A88; Tue, 11 Feb 2020 18:57:38 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Jerin Jacob , Viacheslav Ovsiienko , Maxime Coquelin , Matan Azrad , Gavin Hu , Pavan Nikhilesh , Konstantin Ananyev , David Marchand , Phil Yang Date: Wed, 12 Feb 2020 00:57:24 +0100 Message-Id: <20200211235724.2970097-3-thomas@monjalon.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200211235724.2970097-1-thomas@monjalon.net> References: <20200211235724.2970097-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/2] devtools: enable more config options in build test 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 Linux kernel modules kni and igb_uio were disabled by default so they need a new option (+kmods) for testing compilation. Some recent features were not enabled in compilation testing: - mlx5 vDPA (depends on libibverbs) - ifpga (depends on libfdt) - ipn3ke (depends on libfdt) - Arm WFE Check on libfdt availability is added, and not considered as a fix. Fixes: 91a861e54164 ("config: disable Linux kernel modules by default") Fixes: 95276abaaf0a ("vdpa/mlx5: introduce Mellanox vDPA driver") Fixes: 1be7855d7739 ("eal: add wait until equal API") Signed-off-by: Thomas Monjalon --- devtools/test-build.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/devtools/test-build.sh b/devtools/test-build.sh index 330133e692..e6e40588c6 100755 --- a/devtools/test-build.sh +++ b/devtools/test-build.sh @@ -14,6 +14,7 @@ default_path=$PATH # - DPDK_DEP_BPF (y/[n]) # - DPDK_DEP_CFLAGS # - DPDK_DEP_ELF (y/[n]) +# - DPDK_DEP_FDT (y/[n]) # - DPDK_DEP_ISAL (y/[n]) # - DPDK_DEP_JSON (y/[n]) # - DPDK_DEP_LDFLAGS @@ -108,6 +109,7 @@ reset_env () unset DPDK_DEP_BPF unset DPDK_DEP_CFLAGS unset DPDK_DEP_ELF + unset DPDK_DEP_FDT unset DPDK_DEP_ISAL unset DPDK_DEP_JSON unset DPDK_DEP_LDFLAGS @@ -140,6 +142,8 @@ config () # # Built-in options (lowercase) ! echo $3 | grep -q '+default' || \ sed -ri="" 's,(RTE_MACHINE=")native,\1default,' $1/.config + ! echo $3 | grep -q '+kmods' || \ + sed -ri="" 's,(IGB_UIO=|KNI_KMOD=)n,\1y,' $1/.config echo $3 | grep -q '+next' || \ sed -ri="" 's,(NEXT_ABI=)y,\1n,' $1/.config ! echo $3 | grep -q '+shared' || \ @@ -151,6 +155,8 @@ config () # sed -ri="" 's,(TEST_PMD_RECORD_.*=)n,\1y,' $1/.config ) # Automatic configuration + ! echo $2 | grep -q 'arm64' || \ + sed -ri="" 's,(ARM_USE_WFE=)n,\1y,' $1/.config test "$DPDK_DEP_NUMA" != n || \ sed -ri="" 's,(NUMA.*=)y,\1n,' $1/.config sed -ri="" 's,(LIBRTE_IEEE1588=)n,\1y,' $1/.config @@ -159,10 +165,14 @@ config () # sed -ri="" 's,(RESOURCE_TAR=)n,\1y,' $1/.config test "$DPDK_DEP_BPF" != y || \ sed -ri="" 's,(PMD_AF_XDP=)n,\1y,' $1/.config + test "$DPDK_DEP_FDT" != y || \ + sed -ri="" 's,(PMD_IFPGA_RAWDEV=)n,\1y,' $1/.config + test "$DPDK_DEP_FDT" != y || \ + sed -ri="" 's,(IPN3KE_PMD=)n,\1y,' $1/.config test "$DPDK_DEP_ISAL" != y || \ sed -ri="" 's,(PMD_ISAL=)n,\1y,' $1/.config test "$DPDK_DEP_MLX" != y || \ - sed -ri="" 's,(MLX._PMD=)n,\1y,' $1/.config + sed -ri="" 's,(MLX.*_PMD=)n,\1y,' $1/.config test "$DPDK_DEP_NFB" != y || \ sed -ri="" 's,(NFB_PMD=)n,\1y,' $1/.config test "$DPDK_DEP_SZE" != y || \ -- 2.25.0