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