From patchwork Thu Mar 25 14:52:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 89860 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 CC80AA0A02; Thu, 25 Mar 2021 15:52:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC1F4140DEA; Thu, 25 Mar 2021 15:52:35 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id AAFA1140DE7 for ; Thu, 25 Mar 2021 15:52:33 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3E8EB5C00FD; Thu, 25 Mar 2021 10:52:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 25 Mar 2021 10:52:33 -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=fm3; bh=HUK3i5o2q2sPu M9fLv0JiF1OSRWyKIlkAlT0qtduDVc=; b=ypU3Ije+PTaejDEyd4dEuH4RGNgUF ROiX776Z3EtjGsQoEme6WXqFlmvW6K/5mQnjY4j/479QlU9phvww15HQl42NAKhC TmYErb9lJkqOLcmcPLzCkl7R9A0VC9y40fiJ+YbK81TallkeO567Kb43PGhifhaK NNhmTeKgUpMrwd18VspnUQYC3jn7YwOW5hCkzLXchig3jatXOUEpP8Kdo29li7Nc I3tdtHAOVsDBJwy79GB5GfQbaF+ZRxS9+eiIVneOebdcT+g87bnYHbZGqdA6TVMp cbjn+fLE+tghQiMP82lVyqfbxVlnhS9mzURDvn9cu71+DHcsENHAsdmQA== 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=HUK3i5o2q2sPuM9fLv0JiF1OSRWyKIlkAlT0qtduDVc=; b=Z6GpfRiV AjU8LfwiosVLruwHc//ADqqS/S5In4Oj7WI1ugpPVg+2qdonknyxPkS8/5WNBbTJ dgaIVyQY8yrm5wEyRJbTEoyBIZg0NMtP6DoOEprJBalDuRlbJ2eo/ky2pO3HzBbf 3zaAq4NrUP2EMaSo3CeaFzg0h1LdiXANXx3PdUTM2sfNAipckrt3gycshL4z4LbF a61stAwI+csS6AwFlOqNm+DFNhSv7mFnABxxtHuoyvVSerbw9gBZr+H4phDTbmlQ exaECOmNw1jaikr2vii7VOQVQfoL2etFGzXaOzddOFVcY0zMZte7E8jNMRdsas8L YKyWy5uv5go9mg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehtddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl 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 8227924005C; Thu, 25 Mar 2021 10:52:32 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Pavan Nikhilesh , Jerin Jacob , Maciej Czekaj Date: Thu, 25 Mar 2021 15:52:07 +0100 Message-Id: <20210325145209.2000195-2-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210325145209.2000195-1-thomas@monjalon.net> References: <20210225170238.15581-1-pbhagavatula@marvell.com> <20210325145209.2000195-1-thomas@monjalon.net> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 21.11 v2 1/3] net/thunderx: enable build only on 64-bit Linux 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 Sender: "dev" From: Pavan Nikhilesh Due to Linux kernel dependency, only enable build for 64-bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build index dad5c59242..97a84d5875 100644 --- a/drivers/net/thunderx/meson.build +++ b/drivers/net/thunderx/meson.build @@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif From patchwork Thu Mar 25 14:52:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 89861 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 5F7D5A0A02; Thu, 25 Mar 2021 15:52:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5BD75140DF8; Thu, 25 Mar 2021 15:52:38 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id BA620140DF1 for ; Thu, 25 Mar 2021 15:52:36 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 6A1D45C0101; Thu, 25 Mar 2021 10:52:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 25 Mar 2021 10:52:36 -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=fm3; bh=TdpmK1nGBtp+u cPZ9xwTade2d3flDmwhBTYoNuCg35Y=; b=ynLYSjCRS7Ipjz1b2N8UG+TWm1qKZ WiqKNOaIZ2cfiSn9lcOdrY5mWdhFZqdITPj5k0lNvrajwCmpqhEhXFjmvU9lgFTY ucy7opKKK1jOPonRSFLPvydKprpyk8CNEnW8fF3cr6XWqX5miLOcji6b23Zc+wI/ TcDk6jPMH1LSIlgnM5KMeI/QbHBvs4FA/s8n3rGcrbGP+KVOBxWi8P3jBFKBUz7W WDPVFbmh8BJPSsBR/Fyb7NonVAnGo0bqc4KQBFwFrpPEE0D7HkFB9q4tbd6XfU4U jozQTyC6AEJcjonKVc6GwpD1jsbKYi/cnwrOMDy8qSnphwPbQnvvdB9Kw== 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=TdpmK1nGBtp+ucPZ9xwTade2d3flDmwhBTYoNuCg35Y=; b=ce+1aBVl VIkO+ll4Bta4Q6KPmgjTXRSck7TcOdKY3Bfay6ME/9LqTL85WuEz0Tcu0T/Bn2w3 CyYW7iYVtgehKPbi1wDZa5trcFokAE+5FHRbVZid7H/g+fwDRvMJV6rmxctwMx8J Wx8QURxq/OYnQvCQyUFvDSg2TjS3krq92aglGYIs+Fg1J9Wq7QnkU8eWXoR+4m6t diIux30Lwn1C7dBTBJU/thfGceCWcqDjpnrLkZ71V0iBLfDHAtoiucSuP6NWNVYa OurC3OnhIm1vHQFJ+3oQtdOgFD/ENO3MZk2Ri6fvN/2Ub8g6IbS5rZIZzJBXdb+I JsMK2FBC+1bw1g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehtddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl 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 4D12C24005E; Thu, 25 Mar 2021 10:52:35 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Pavan Nikhilesh , Jerin Jacob , Harman Kalra , Ashish Gupta , Fiona Trahe , Anoob Joseph Date: Thu, 25 Mar 2021 15:52:08 +0100 Message-Id: <20210325145209.2000195-3-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210325145209.2000195-1-thomas@monjalon.net> References: <20210225170238.15581-1-pbhagavatula@marvell.com> <20210325145209.2000195-1-thomas@monjalon.net> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 21.11 v2 2/3] common/octeontx: enable build only on 64-bit Linux 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 Sender: "dev" From: Pavan Nikhilesh Due to Linux kernel dependency, only enable build for 64-bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- drivers/common/octeontx/meson.build | 6 ++++++ drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++-- drivers/event/octeontx/meson.build | 6 ++++++ drivers/mempool/octeontx/meson.build | 5 +++-- drivers/net/octeontx/meson.build | 4 ++-- 6 files changed, 28 insertions(+), 6 deletions(-) diff --git a/drivers/common/octeontx/meson.build b/drivers/common/octeontx/meson.build index 203d1ef496..f29b583204 100644 --- a/drivers/common/octeontx/meson.build +++ b/drivers/common/octeontx/meson.build @@ -2,4 +2,10 @@ # Copyright(c) 2018 Cavium, Inc # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('octeontx_mbox.c') diff --git a/drivers/compress/octeontx/meson.build b/drivers/compress/octeontx/meson.build index e1b7bed422..cd8687fde3 100644 --- a/drivers/compress/octeontx/meson.build +++ b/drivers/compress/octeontx/meson.build @@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['mempool_octeontx', 'bus_pci'] diff --git a/drivers/crypto/octeontx/meson.build b/drivers/crypto/octeontx/meson.build index a353d37a10..2e5838641d 100644 --- a/drivers/crypto/octeontx/meson.build +++ b/drivers/crypto/octeontx/meson.build @@ -1,8 +1,11 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc -if not is_linux +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on Linux' + reason = 'only supported on 64-bit Linux' + subdir_done() endif deps += ['bus_pci'] diff --git a/drivers/event/octeontx/meson.build b/drivers/event/octeontx/meson.build index 41e367684c..63c7f793a6 100644 --- a/drivers/event/octeontx/meson.build +++ b/drivers/event/octeontx/meson.build @@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('ssovf_worker.c', 'ssovf_evdev.c', 'ssovf_evdev_selftest.c', diff --git a/drivers/mempool/octeontx/meson.build b/drivers/mempool/octeontx/meson.build index b5695a9329..4607dfe23d 100644 --- a/drivers/mempool/octeontx/meson.build +++ b/drivers/mempool/octeontx/meson.build @@ -1,9 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = files('octeontx_fpavf.c', diff --git a/drivers/net/octeontx/meson.build b/drivers/net/octeontx/meson.build index 4e784b9484..a0d0fb80e6 100644 --- a/drivers/net/octeontx/meson.build +++ b/drivers/net/octeontx/meson.build @@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif From patchwork Thu Mar 25 14:52:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 89862 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 EE119A0A02; Thu, 25 Mar 2021 15:52:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 97E8C140E0B; Thu, 25 Mar 2021 15:52:41 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 00873140E09 for ; Thu, 25 Mar 2021 15:52:39 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id A79135C0101; Thu, 25 Mar 2021 10:52:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 25 Mar 2021 10:52:39 -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=fm3; bh=5NeH3L896V5r7 qfACd0mWKCWW51CQ1aTJFd6BcyLxZ0=; b=w2dYBu80dhibeh5Uv52y3cvvI0n3b 72gd925L5r8v00QSP41FkH6PRQIALO/13gfTKKNzZ/H0+qZGY4pzc70wsuG0KSiB Ggj81kyDSp94l0KC6xQxZtw50UWUvc+qUiqCQVepYYLqMoXbsvGds80PjnnOHe/U 9YzhjUdq7AjtIUTl6neOVcN+75x4oUnvy0FbPLcmRejMdCHVNah+XD1kQ+S/rXLt slFH6exV4Lzzjzn640NXPs+Gp856Vc88oIMU+Ax9ntCvUiLvTHyKxag+PKn87CpL H/NUXGGFV80uG2ZTeXXBThp2+uITxFhElwmFYHX1TF8Hp2neEOhtbhaRQ== 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=5NeH3L896V5r7qfACd0mWKCWW51CQ1aTJFd6BcyLxZ0=; b=aWfHyPqo O4dAvE87MWbcqrz2NUjhMzxrX2+/sGwPVGKDTCuzpg5Hj1qLtgJ+ShagnwvW24AF 7pjDStAiijU2cDzS9TnrF4r14RCqdvoewQr3B9X15F+50I9GIq7zgMWYiKUYJpD1 gtG8OMvrVwVQmbAIEBGTu73LbdZWbrDDgFakpYTT4gZwrI0kLnS+n2YFkAcF/sa4 qG6OB/ivIgx0N8FnG75fmvo55aH/2XmcQVr6FuqgmaEYHDoZGGdoduwzKaBMncBt /w6FzAUapCmzAzHVQ8RpdfAaHcKCTU5V3i192Zw/XB3lJEogqUXf9SU4kOU4BdwH xR9LjT+0Ymb6DA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehtddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl 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 D154B24005A; Thu, 25 Mar 2021 10:52:38 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Pavan Nikhilesh , Jerin Jacob , Nithin Dabilpuram , Kiran Kumar K , Radha Mohan Chintakuntla , Veerasenareddy Burru Date: Thu, 25 Mar 2021 15:52:09 +0100 Message-Id: <20210325145209.2000195-4-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210325145209.2000195-1-thomas@monjalon.net> References: <20210225170238.15581-1-pbhagavatula@marvell.com> <20210325145209.2000195-1-thomas@monjalon.net> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 21.11 v2 3/3] common/octeontx2: enable build only on 64-bit Linux 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 Sender: "dev" From: Pavan Nikhilesh Due to Linux kernel dependency, only enable build for 64-bit Linux. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- drivers/common/octeontx2/meson.build | 4 ++-- drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx2/meson.build | 9 ++------- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 5 files changed, 14 insertions(+), 23 deletions(-) diff --git a/drivers/common/octeontx2/meson.build b/drivers/common/octeontx2/meson.build index 84fb11524d..3ae1067921 100644 --- a/drivers/common/octeontx2/meson.build +++ b/drivers/common/octeontx2/meson.build @@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif diff --git a/drivers/event/octeontx2/meson.build b/drivers/event/octeontx2/meson.build index 22e7e4cb63..c81950cefe 100644 --- a/drivers/event/octeontx2/meson.build +++ b/drivers/event/octeontx2/meson.build @@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif diff --git a/drivers/mempool/octeontx2/meson.build b/drivers/mempool/octeontx2/meson.build index 0586321abe..c67d8e2d20 100644 --- a/drivers/mempool/octeontx2/meson.build +++ b/drivers/mempool/octeontx2/meson.build @@ -2,14 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif diff --git a/drivers/net/octeontx2/meson.build b/drivers/net/octeontx2/meson.build index 779a75b5d0..5dbe002e3f 100644 --- a/drivers/net/octeontx2/meson.build +++ b/drivers/net/octeontx2/meson.build @@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif diff --git a/drivers/raw/octeontx2_dma/meson.build b/drivers/raw/octeontx2_dma/meson.build index 11f74680a5..1910351253 100644 --- a/drivers/raw/octeontx2_dma/meson.build +++ b/drivers/raw/octeontx2_dma/meson.build @@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag)