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 3E628A034F; Thu, 25 Feb 2021 18:02:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B52F9406B4; Thu, 25 Feb 2021 18:02:53 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1F5E240692 for ; Thu, 25 Feb 2021 18:02:51 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11PH0MBE023103 for ; Thu, 25 Feb 2021 09:02:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=NRMVrAWbJJVRs3UfIf28rSH04+k+4HxufguCB0Gt8hM=; b=N3yJT12xH3OC/NPGG19wZBDo2KkX88YWbOLs3oO+P5looG585oy2JSDiz3VjgZivIJH2 +GlnDKgJrCdw8a/aJCLJK5hlqpvWkS5sZB0R48ni9RoJqwebPySA9hxWV+TMp5Nu9hmM 2H9NmHA7PXdEMZuIU3xobsyOpc1LJBJO7dd9ToGr0suBA5NES2lftzmysCtcifgxRjHZ Y3LCjdz1hM2EFlsYgx1v94/eSvzWo/hRDOD/BV4Xj0PMboYHQCApWFUV1FJKTvYwCyO0 1I9WROFwMlSviXiI3Rdibmtbk1pQCUq3v7n094kHi2+FP2N1plzApDZFo8A/OYIuuc1o nw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 36wxbv2wqr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 25 Feb 2021 09:02:51 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:49 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 09:02:49 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 25 Feb 2021 09:02:49 -0800 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 4C5D23F7040; Thu, 25 Feb 2021 09:02:46 -0800 (PST) From: To: , Harman Kalra , Nithin Dabilpuram CC: , Pavan Nikhilesh Date: Thu, 25 Feb 2021 22:32:33 +0530 Message-ID: <20210225170238.15581-2-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210225170238.15581-1-pbhagavatula@marvell.com> References: <20210225170238.15581-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-25_10:2021-02-24, 2021-02-25 signatures=0 Subject: [dpdk-dev] [PATCH 2/7] mempool/octeontx: enable build only on 64bit 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 64bit Linux. Signed-off-by: Pavan Nikhilesh --- drivers/mempool/octeontx/meson.build | 5 +++-- drivers/mempool/octeontx2/meson.build | 9 ++------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/mempool/octeontx/meson.build b/drivers/mempool/octeontx/meson.build index b5695a932..4607dfe23 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/mempool/octeontx2/meson.build b/drivers/mempool/octeontx2/meson.build index 0586321ab..c67d8e2d2 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 -- 2.17.1