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 E12BCA034F; Mon, 22 Mar 2021 16:14:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63A7440040; Mon, 22 Mar 2021 16:14:59 +0100 (CET) Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by mails.dpdk.org (Postfix) with ESMTP id 80DC64003D for ; Mon, 22 Mar 2021 16:14:58 +0100 (CET) Received: by mail-qv1-f53.google.com with SMTP id 30so8771868qva.9 for ; Mon, 22 Mar 2021 08:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jxDKxYcDstJdzksSxnr+nYH2P8bi1xtIp8R7pLfj8kM=; b=m2Ok/lf6mr1KY8YoBQuwcvmzyPPIDeLo+W0z5nq9rSaJOMzChCCEHR3XqdRoDl3uD2 GctbxlzIrE1gwq18tleiQ7mTykwTY9/75/oSXMVVyAVxp483/KIZq6EZKS8764Z5lZ6r 3JNpdpliMHIidrnGSm9uHcAnJGVSiJ5umcrnbycm5MMOzQMeK6mtSd+OvRrivT2I1dge o76/Jwn7B9Y+GvAM+xZe55riPk/AQxSmvbTlxnb5ayK/7yjOs96KDCUDxWMZFDVXbfg5 a6fc+VUg5pWBuhm3nj5whe/8zUwRSGrKKosNE96AsQMuKqxEkyFpVd+f4hMIFI6OSCIV TJsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jxDKxYcDstJdzksSxnr+nYH2P8bi1xtIp8R7pLfj8kM=; b=d+oRgGqJtleKJ6fxKWDwNMAm0J8i8Sy0J9tz1ILIAxkGfm579NnkIeAIAMH/BqNfow INYtBfK63/GULtiFZMI8eaZdZdcCZfZDJL1M3X60le1LwKXpmd+zS6Wun/l4/uu2LcVo 68vFwucC6vCPNlSzD6zCqmo/dWtvQXUxB2Wa546ycbGT0birOjy84Ekfsz0VT+52GhfW rA5AAEyP78pEhL9Q6kulo56/ovT2sOjD3UKs0Ko/f7fQlkfREoEqSc02C4ufy1ud8rEI Pp4R9TpdKqb43fX8qy4ihc5VO8oZfKYk0TPjCQlGJFK9i1vvqPTH71z0dlKZutZAg6b4 2IyA== X-Gm-Message-State: AOAM532cggmiXeUvZ3cIS09hJ2Flri2pyf4Z5HktFM80Y6wieCHQJQ00 T5hctAjsylB0i2qZayxQPmn7X+kV9163/xw1vcU= X-Google-Smtp-Source: ABdhPJwoaT+WfYy7dFe7cIJFCur0mVJZN1B7Q+ME57X+9chhXX7LvH+lPYq+p6w45J6NmYKYJqIFwxX0ct4rKcoHNcI= X-Received: by 2002:a0c:e788:: with SMTP id x8mr520713qvn.48.1616426097889; Mon, 22 Mar 2021 08:14:57 -0700 (PDT) MIME-Version: 1.0 References: <20210225170238.15581-1-pbhagavatula@marvell.com> <20210225170238.15581-6-pbhagavatula@marvell.com> In-Reply-To: <20210225170238.15581-6-pbhagavatula@marvell.com> From: Radha Mohan Date: Mon, 22 Mar 2021 20:44:45 +0530 Message-ID: To: pbhagavatula@marvell.com Cc: Jerin Jacob Kollanukkaran , Radha Mohan Chintakuntla , Veerasenareddy Burru , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 6/7] raw/octeontx2: enable build only for 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" On Thu, Feb 25, 2021 at 10:33 PM wrote: > > From: Pavan Nikhilesh > > Due to Linux kernel dependency, only enable build for 64bit Linux. > > Signed-off-by: Pavan Nikhilesh > --- > drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/drivers/raw/octeontx2_dma/meson.build b/drivers/raw/octeontx2_dma/meson.build > index 11f74680a..191035125 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.17.1 > Acked-by: Radha Mohan Chintakuntla