From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 74F44A056A
	for <public@inbox.dpdk.org>; Thu, 11 Mar 2021 00:36:37 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id E985422A5D5;
	Thu, 11 Mar 2021 00:36:36 +0100 (CET)
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com
 [64.147.123.24])
 by mails.dpdk.org (Postfix) with ESMTP id 2106940689;
 Thu, 11 Mar 2021 00:36:35 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.west.internal (Postfix) with ESMTP id 905053185;
 Wed, 10 Mar 2021 18:36:33 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Wed, 10 Mar 2021 18:36:33 -0500
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:content-type; s=fm3; bh=
 TQkftV5CYKA9sQgpw29/WInjXCa8g5OK1z9SyN36gsQ=; b=bD6A2XlBwmc3xVAs
 zOKowiYdhCe1L7WPNJFVWKFmxn/MnYKFOM6amw4UN7CCj/6jdvUwq7ul7K8ovIPR
 KgPV+H+B2x52k8f+/PNjOxeub4CLzp4TQKM7z/luYooIrNTVLpfwIQfOZln8+ibv
 9F6394uCI3SpqN44UA24BKib3M43YYvsYePksua3u2nvYlHhiIvDpF/5yk3XNPb5
 Y14O0Scn99PU3S/4dPenWA83ZvbLaQ1/mVq/h6q1rUzV3jpea8+6SJ7fKTvyOnFU
 oevRr/nv+pZmVpaXh8MaqmckOd+RqNU0lrcbJAxgQFFQ3gTBuBsdEdQqrXeVvzXh
 BLK9kw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :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=TQkftV5CYKA9sQgpw29/WInjXCa8g5OK1z9SyN36g
 sQ=; b=vcH7SvQWkfRHACzQXisMG0M6Hlc2i9aFBITFrzjyQE24UF1RodDERgMMK
 XWtWwZiPbj1AwGEbaf2YKl2kYWvYDcPwdjHV826mvHU4zykyYPV9qHqRIP6625mI
 9UImxKSEcsGwDoTf8h/qRJh9gb7UT5OigsiiBgn+HQ8e1wmOfB4e9KdIXNweXopu
 PBu6mvmRMqShsiHC4B55NpMtldjAEfZcIB/9WQ12VMJkDJXaI4AtsXkiSuiX7fHZ
 jpqYRtr3GYQ0B9eDHX1wtIR7T2bqu3FNovtyOyCJnF8DdNRiaNo/vvJnvHPciWzQ
 w29vLwrYDX4xQlMYU2NsOQpLqYztQ==
X-ME-Sender: <xms:AFhJYHwjboLDEMJ3GHZwGWQ2gwypb135AtYX1fke_oI_49Grk_UCGg>
 <xme:AFhJYPSfDAMDM8Jcf6Arx9scbG6R75Ryy60CHVzlOEhcfsCXFlAD64o5IawgSHnOQ
 0N26T1LtPJXMuI8OQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudduledguddvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepgeejfffhhfeghfetveffgeffteelveekhffghfefgedvleeuveet
 fffgudelvefhnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepjeejrddufe
 egrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi
 lhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:AFhJYBWrZaiRgQuOvX-u05k2_c3689u77G65jpaTgJoU-qfWUIjeHw>
 <xmx:AFhJYBgiPj3sMegXGOeCW6X0CWDS3y82puof5tTrdyrVzJOwMGMCNQ>
 <xmx:AFhJYJDYeWCdMZcvBtGuqkfxfUP7TD8V4td4Fyp9XxWArvA2TqiurQ>
 <xmx:AVhJYG5Y_myPONBN0XbNk-eEsYI2RD5M59eftLVR7w1q5dvZhP997g>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 1D7BE1080054;
 Wed, 10 Mar 2021 18:36:32 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Jinkun Geng <gjk1994@stanford.edu>
Cc: Stephen Hemminger <stephen@networkplumber.org>, ci@dpdk.org,
 "users@dpdk.org" <users@dpdk.org>
Date: Thu, 11 Mar 2021 00:36:29 +0100
Message-ID: <11457967.n7LkdMVPTe@thomas>
In-Reply-To: <BYAPR02MB4613D6F787B266AE82C66270D4929@BYAPR02MB4613.namprd02.prod.outlook.com>
References: <BYAPR02MB4613CD9DCC0AE33C7528637BD4929@BYAPR02MB4613.namprd02.prod.outlook.com>
 <20210308183117.627af0e8@hermes.local>
 <BYAPR02MB4613D6F787B266AE82C66270D4929@BYAPR02MB4613.namprd02.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-users] [dpdk-ci]  Integration of DPDK into Bazel
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org
Sender: "users" <users-bounces@dpdk.org>

09/03/2021 05:11, Jinkun Geng:
> Too bad. :<

Why is it too bad?
How the choice of an internal build system
can affect other projects?


From: Stephen Hemminger <stephen@networkplumber.org>
> On Tue, 9 Mar 2021 01:32:16 +0000
> Jinkun Geng <gjk1994@stanford.edu> wrote:
> 
> > Hi, all.
> > Since bazel building system is becoming more and more popular, sometimes we need to integrate DPDK library into a bazel project. However, it seems there is no much support for bazel from DPDK community.

Why the DPDK community would support building with Bazel?
What is the benefit?
Bazel projects cannot just link with DPDK using pkg-config?


> > The only support at https://github.com/bazelment/dpdk has been outdated. Based on our experience, it can only compile successfully with dpdk-16.04 (i.e. the bazel-16.04 branch). Now DPDK has developed to DPDK 21.02, but the bazel support fails to catch up.
> >
> > It would be great if the experts in DPDK community can provide some portable BUILD files to facilitate the integration of the newest DPDK into bazel project (just like bazelment). After all, writing the bazel files can be really challenging, especially if we do not have a very deep understanding of the whole DPDK codes.
> >
> > Jinkun
> 
> DPDK is on meson now. The core team is unlikely to change build systems again.

DPDK supports library standards for compiling, installing and linking.
What else is needed?