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 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 Content-Transfer-Encoding: 8bit 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 -- 2.30.1