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 ECA3FA056A for ; Thu, 11 Mar 2021 00:42:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6557822A64F; Thu, 11 Mar 2021 00:42:09 +0100 (CET) Received: from mx0b-00000d04.pphosted.com (mx0b-00000d04.pphosted.com [148.163.153.235]) by mails.dpdk.org (Postfix) with ESMTP id 06ADF406A2; Thu, 11 Mar 2021 00:42:07 +0100 (CET) Received: from pps.filterd (m0102891.ppops.net [127.0.0.1]) by mx0a-00000d04.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12ANcYhZ031066; Wed, 10 Mar 2021 15:42:07 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stanford.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=pps05272020; bh=w/XcyNbmWNc7HELuqYU7c/0siz0uMy/eoU/gLDBRR5o=; b=WYu/tba9ycpuLgwdhtgSxcKWHCgPoSvwcvYBA3ohBE2OyVNiX8Ri/BCu9l6wKaPTeDLo dl3E2NPtmJNU3m195ndL6XlH/iuU8NYyOav5MeBEDVOdjn+BPp4KMKxQygGRaVqXvLC4 MB5cB+bBU8j5uDAsxNjz5LCdDJkuBjFmQtceYrfKqPMkgMZbjszqHug3UMiG4nADEC98 QnkK9Uag8+fjEj0oDuB664TjDg1kTmzYKko9qMYTP3SGGJtAfIReOe981PyDp38YynJX EEOBK59bg+AAe+IaKtvs8LM/nMFfN+gZsv8V4SWLlhdwKOITRaDRhyEShtoTLwEChai5 Hg== Received: from mx0b-00000d03.pphosted.com (mx0b-00000d03.pphosted.com [148.163.153.234]) by mx0a-00000d04.pphosted.com with ESMTP id 374t3qbdh7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Mar 2021 15:42:07 -0800 Received: from pps.filterd (m0102882.ppops.net [127.0.0.1]) by mx0a-00000d03.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12ANarwQ007283; Wed, 10 Mar 2021 15:42:06 -0800 Received: from mx0a-00000d06.pphosted.com (mx0a-00000d06.pphosted.com [148.163.135.119]) by mx0a-00000d03.pphosted.com with ESMTP id 3746d4627j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Mar 2021 15:42:06 -0800 Received: from pps.filterd (m0167934.ppops.net [127.0.0.1]) by mx0a-00000d06.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12ANapr0018223; Wed, 10 Mar 2021 15:42:05 -0800 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2101.outbound.protection.outlook.com [104.47.55.101]) by mx0a-00000d06.pphosted.com with ESMTP id 37481dp5na-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Mar 2021 15:42:05 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NIFF2jZW8+KJGC7gzJIOYMA1ag6k/+OiCFMnrD19dogoLMEW5aPUolyo4RuWwM6UWIr/FMReE4beEGGymrfDFtFSuQH3SozBHc7sKI3WC1txbIcr159uKyQUy9jAGrQQHtwHJ3rKLwvrwgCcV/bU1ZnhZ8P7sXrYc8uGJ31O7FJMEtdKeckRb9wT6ZUiU5vDSgB/o0n0QW82GcR7pgOwJToN8+sVyQf0hXxPIa+DJFLf3v76GWCuR4AaEAbtablKqEJmWfqR/GsSNXQntP2rRZuB6OKWmOMgsk/ZJHqMjYWq9Md5pmmHdt2kSGRRut4+0x1sXfa65fOcWWJw8wqlVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w/XcyNbmWNc7HELuqYU7c/0siz0uMy/eoU/gLDBRR5o=; b=FYlqe0vMgtqX1FUY23CqVVDgzRbvhjMh9qBp9rwOrjtFAtoJs/+wVuuRAGXrBjx32vOJl69UEOYoT/vSZqGVQBsypFm/byCWJ0LQ/QV6vbRk+KarUJqhIayCLEKHOy24dhhEAIipjM7WgLLLGZWzmsNp901SB8aBjCk7d9PPh9LPN9fHjqKkGv9vtSXu21Fb+kYwZBz/kpbi2avjDp3Gq7UryFO0/NqnRJgttKD2T1+m96+D3A/LKXorpVOvZJcNA28C3Mgtf6QDuOm29sGfJDseOL/Jgv8tMXrgNWZCjaS3zsX3FXJqSiy002hoT2uViZ2arK/6idFZdYtLzLuuQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stanford.edu; dmarc=pass action=none header.from=stanford.edu; dkim=pass header.d=stanford.edu; arc=none Received: from BYAPR02MB4613.namprd02.prod.outlook.com (2603:10b6:a03:57::33) by BY5PR02MB6577.namprd02.prod.outlook.com (2603:10b6:a03:20d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.28; Wed, 10 Mar 2021 23:42:04 +0000 Received: from BYAPR02MB4613.namprd02.prod.outlook.com ([fe80::3d7b:db38:f583:d155]) by BYAPR02MB4613.namprd02.prod.outlook.com ([fe80::3d7b:db38:f583:d155%3]) with mapi id 15.20.3912.030; Wed, 10 Mar 2021 23:42:04 +0000 From: Jinkun Geng To: Thomas Monjalon CC: Stephen Hemminger , "ci@dpdk.org" , "users@dpdk.org" Thread-Topic: [dpdk-ci] [dpdk-users] Integration of DPDK into Bazel Thread-Index: AQHXFIKDJvRyIqmyuUOkYOh6cX2eHqp674uAgAAbsW2AAtgigIAAAFbi Date: Wed, 10 Mar 2021 23:42:04 +0000 Message-ID: References: <20210308183117.627af0e8@hermes.local> , <11457967.n7LkdMVPTe@thomas> In-Reply-To: <11457967.n7LkdMVPTe@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=stanford.edu; x-originating-ip: [128.12.122.129] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a9535e69-8eeb-4960-c79e-08d8e41e1c2d x-ms-traffictypediagnostic: BY5PR02MB6577: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gEh5D79HDiANI81rQqpamRXUv/4CSdBzA5v8i9h6HT7qceNFPAfhXkML1MM4lk1dPJ604Ut2+NNPDcunuSY79rAUNzY1s7Y7sDYq2MxD+f7uyT6xwlsPPS00y02+XDuUb8wnKYJ536HovSLcP7EF4enli2IJZgQQxD+FZmNnOgFdy9myYUPvcAso/niI0lVwZoQ7Y8Ti9eLfSKAgkbP5z0/aTOdwt7jborRj/V0JzuS6gTPjHfPXaRx7/vh/riK5OpSrQE6siplvSOSfDDpk1F/8LAk7vKmWOjTGzNCQ68Rzu1bI9Xpy4G5C8CmVXNAG/iEI5EboKg/UZWbC9Hux9jdAjk5KsiBIcm7PozXRf4JB6MK7ds88KyESBtCMHWh8Cx4Uy4Z5wb7/VDJNGY/vBa+G22TL7WlIBz2iZWuKT0V5aeU447E19cEhT4KUjbyfruwZc8w83C0RI7IXCzMcc8h3/+7IzrUDUvwXiPtCtGuya+ukXqW5gNt04gnLtx2u/l8GkFwtvMn28j53pnPDW13dxwsYzp4aSWZjmt0EEihw+W+2rKtMJdeqSKbaVEYVaZqgHZMJmKxQ/753/BBXbk2HP6K7R6WIe30YK0IoX4Y= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR02MB4613.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(376002)(396003)(136003)(346002)(366004)(966005)(316002)(71200400001)(54906003)(66446008)(5660300002)(26005)(64756008)(9686003)(66556008)(8936002)(19627405001)(55016002)(52536014)(478600001)(75432002)(6916009)(66946007)(4326008)(8676002)(33656002)(76116006)(53546011)(83380400001)(186003)(86362001)(166002)(786003)(66476007)(6506007)(2906002)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?tDbYFJXNtVwpHh/BJLLUGndapBodwJs6jL0EpAr3SQwUyoYf8NXnoSDO8gsu?= =?us-ascii?Q?i+sUzHb9lXI4WA7G7UKUs9IW6GdRC0RFde+1pwsTv6aPFYgSAZ9R9NyA39sy?= =?us-ascii?Q?9gCjzzTQjQtDuZET7XKGwj0gSDG/k9CYv9wcSBNksIUWA99euRxrTJpNUz4N?= =?us-ascii?Q?UHPNBXWZEGcWwtYhT1FM5YybwKb5PKYi6rDvx/oukzEChPmEJDZDZkPP0RND?= =?us-ascii?Q?3B6di9DZKnPitLwk0LsSBV320m0amAMmzlyBXpNJX3JixIAJA8hE4GaBeKhH?= =?us-ascii?Q?XGPlm3g1P5jZEci1H41UM9UwLRvRoP14mXs/0duT21oTxh1zCWkvqlWp27zQ?= =?us-ascii?Q?uKLkVjFYqOrAOKT6JFk8RMtfFc+j6EpYNRaOfOiSGFuMfJ309/j/bfcqhGl7?= =?us-ascii?Q?o+5ihIe+RvL2NP/aMOJ1SOq48Q6PT2RGGzFrGfsgaPkfFbhh5vX9J2sB9w8c?= =?us-ascii?Q?JOe262dLKZiKGL0MTtUOAmswHCAH6PIV3EpdN0qRcEGn7Vtq1NzZUcZbC/F9?= =?us-ascii?Q?g7noTjuovM2yVBLpWsub1JCgaRIw5JH6Y/c4vl4ey9LbsCQkwSyOJBKeoo1t?= =?us-ascii?Q?dnjv56xkCYfBGPvMOCzMe3ijR8sq0UH6sTViFBUwcM3/Dpp/vCB4ONXAcBah?= =?us-ascii?Q?+V1Z6XeGWztf1pagpSGUKOfAnA9DeVezDEqTRzLFij1iIOOIF5oA/EgzXPdZ?= =?us-ascii?Q?iUHYkSxbyvRqwGFUef+cwy1d6MkGSNbg8oUOuNG764jNF8gfmsgNBibAN8jD?= =?us-ascii?Q?iGqduKnMA1luFJFfQxfsQkzaAYT+XLP2uCY69SnJQqejZELpCKdRFcBKEuks?= =?us-ascii?Q?ZOnAv3iAmSPL3fBmiAy+RXSNHT+AtbWbfpdj2IEDQk2gObQ9jh+gPofB5bzf?= =?us-ascii?Q?5Inrtn3dE5ViitflSY7DvRzUTWBDNpoH6vdMRlLFx8zyClUeteTbL7puB9jy?= =?us-ascii?Q?aRO9aeWjCb9WVN4GiYu9EMYIn19HEutVhdTGHbugcHZIEtpTGpOchb7MFkdU?= =?us-ascii?Q?o4m7FzYXj8FRV2NQsyeEHqmj8eexIT86a8DsgimPMqIA1VXO4A3Qx++zQ5Eg?= =?us-ascii?Q?M29+uIkAoAgI3IZm152Ts+zi8nN63AYwA+hycMfVs6UxvIjWfZuRYUmDrTQ6?= =?us-ascii?Q?TmGD+FbS5RF25rR2lhtQXi1Qw4QPuKUSf4DIjfTIEyibb8Ut5JTld9fc5BFL?= =?us-ascii?Q?9vxMprBoFoJmYg7uA8R5q+A1mSq3WRKbbWM1zhTL+5jiS6tH8uVzXWgPKbC1?= =?us-ascii?Q?55pZesl0V13Z+TfgNLw5ZoR5GfH4w/NH+ftfFT0Tt1OGHLf7Vqlgou6r6Wbx?= =?us-ascii?Q?uVFGJrYYzFWb6yPDhdPb7T9G?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: stanford.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR02MB4613.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a9535e69-8eeb-4960-c79e-08d8e41e1c2d X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2021 23:42:04.4869 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 396573cb-f378-4b68-9bc8-15755c0c51f3 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: W6my8cQjiJns6nTfAQ729zdTeborxUwWvPIZc70wr2d6oMwbbyo4Lx/XN3/Z/dPkmSafVRHf3nhPyyFWonEa3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR02MB6577 x-proofpoint-stanford-dir: outbound X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-10_13:2021-03-10, 2021-03-10 signatures=0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-10_13:2021-03-10, 2021-03-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 priorityscore=1501 adultscore=100 phishscore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 clxscore=1011 impostorscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103100114 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" For any project using bazel, if we want to use DPDK, then we need to compil= e DPDK stuff into bazel by ourselves. It is not a trivial thing and the baz= elment (https://github.com/bazelment/dpdk) guys have spent much effort extr= acting the core files in DPDK and write the BUILD files for DPDK. But now i= t seems they have stopped maintaining that repo since DPDK 16.04. Even in t= hat version, it has some runtime failure when we use DPDK in our bazel proj= ect. ________________________________ From: Thomas Monjalon Sent: Wednesday, March 10, 2021 3:36 PM To: Jinkun Geng Cc: Stephen Hemminger ; ci@dpdk.org ; users@dpdk.org Subject: Re: [dpdk-ci] [dpdk-users] Integration of DPDK into Bazel 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 > On Tue, 9 Mar 2021 01:32:16 +0000 > Jinkun Geng wrote: > > > Hi, all. > > Since bazel building system is becoming more and more popular, sometime= s 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 t= he bazel support fails to catch up. > > > > It would be great if the experts in DPDK community can provide some por= table BUILD files to facilitate the integration of the newest DPDK into baz= el 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 a= gain. DPDK supports library standards for compiling, installing and linking. What else is needed?