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 BC75EA0567 for ; Tue, 9 Mar 2021 02:32:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ACB6D4069D; Tue, 9 Mar 2021 02:32:22 +0100 (CET) Received: from mx0b-00000d04.pphosted.com (mx0b-00000d04.pphosted.com [148.163.153.235]) by mails.dpdk.org (Postfix) with ESMTP id 054314068A; Tue, 9 Mar 2021 02:32:20 +0100 (CET) Received: from pps.filterd (m0102892.ppops.net [127.0.0.1]) by mx0a-00000d04.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1291RKkx002056; Mon, 8 Mar 2021 17:32:20 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stanford.edu; h=from : to : subject : date : message-id : content-type : mime-version; s=pps05272020; bh=+NABXQtHPPLlWee3kZdO0FZHWacSBwrkpXyKEyINjz8=; b=cKdzlOw3WokfH7jOuFSd9uvPChBmuK68gs7ADHWRVgHznTURXmOoxV2DRoMr/rEKjAL4 IfyP7ZfKY/rZZMuzdGU82nGnIHlODGqJHzzSIKJT58a/c2JpInl29VFruWFs4alP3gug su9RQqIc9bvvhhsnnVCJ3VmG3aYK026CWLxSK74PTjq6Xi0GIvsQCuoI1trukURQV81i t82G1/SDukw6pKCHmal94x0L1Zy4vN+eh9uU1vs1Szsq813BIxqH41v/85XI6Rh1h5at GpzMfMT3NEFyCASRTDA2c1aEGQ5okncgdY3nO6BjEanFnhKznKJBWP7Yu8vyruIdN20o AQ== Received: from mx0b-00000d03.pphosted.com (mx0b-00000d03.pphosted.com [148.163.153.234]) by mx0a-00000d04.pphosted.com with ESMTP id 37478wa90n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Mar 2021 17:32:20 -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 1291RoXL013149; Mon, 8 Mar 2021 17:32:20 -0800 Received: from mx0b-00000d06.pphosted.com (mx0b-00000d06.pphosted.com [148.163.139.119]) by mx0a-00000d03.pphosted.com with ESMTP id 3746d3tukv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Mar 2021 17:32:19 -0800 Received: from pps.filterd (m0167938.ppops.net [127.0.0.1]) by mx0b-00000d06.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1291RLhL011273; Mon, 8 Mar 2021 17:32:19 -0800 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx0b-00000d06.pphosted.com with ESMTP id 3748asu06c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Mar 2021 17:32:19 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JjTmLiBbV9CRdBKJhWcF69yqkLmD/Jk9sZMe0p+MjkeAowIFF+woBP7nBrh52hth+ZCCNuctaVzrtdibID3BLq9+YFJZV7Mul5KGjULqg67rz1ru+wY9n9wGb5vGPO1B1jphLcy7SVajA8vow2Jpx0NN3s6jnzSi0hZF5eQ35q4PJ+rJG+Yv4SKsIxSFG4hf9ITPDOcxMjYFtDb7Kfqou66pnDD2WEB8kt09j04s1xWTRsdqI+ZF7rn+nL6TYafr7ufQE/kp5QB8LSjo+3FlFUZT52ZAAIg3UcYCGmQ2IIBcM3q3mqZnIvMKJqzMLkPoAqWRc+T+t4pYkpMuoZ93+A== 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=+NABXQtHPPLlWee3kZdO0FZHWacSBwrkpXyKEyINjz8=; b=er4FBY6wugfv0xcmJTxG2bh92alV5oiVyK0D2E0Lc5qBcowPT+C1YW7y0rCXV6CpfDQcYpMkt5EFOVlaBNxScgap0Il7ISqccXrUw6knXfUZK+4N4y7wsdhgfu3dbHaREjdU/zwSjLdSDu+kJmDLrQm632FFppEDnup57FJ2xdIyDSeui4U9KMzeXjmB1nCsSwTrpKRrP1RyaJdkt0rX0gn+5htlQlWuG4YXmnPtHUTIP88I1fHcBE4/dnG0aMLJ1FXiBWKngRL2wZoNfjvJZS3COx+0fKPUHfUVpr13sGOb1NvO0CB4rkxWASIyEve6aOgULdw/n19c4O3AXfKWYQ== 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 BY5PR02MB6897.namprd02.prod.outlook.com (2603:10b6:a03:23a::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Tue, 9 Mar 2021 01:32:17 +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.3890.039; Tue, 9 Mar 2021 01:32:17 +0000 From: Jinkun Geng To: "users@dpdk.org" , "ci@dpdk.org" Thread-Topic: Integration of DPDK into Bazel Thread-Index: AQHXFIKDJvRyIqmyuUOkYOh6cX2eHg== Date: Tue, 9 Mar 2021 01:32:16 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; 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: 5de0fc4e-cb1b-4cf8-1a4b-08d8e29b2ca9 x-ms-traffictypediagnostic: BY5PR02MB6897: 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: TbPMqc5y7POzuDfx1A8IkCt6YOatwfjYgJTYT48QPY7DDKaHKRvz71D8YLakXBCG1V1rBsVq6e4fKrSdkF607D3NPKQSE5u87jiiIIdD3JdnFAD1lWgNVAioprqwLO+1YNUHRSiHs+B58LbCO6yCZ9ITBrJ3rhDX/tZOwS+4Kr5SrhDsQHq6oXgnFRsdiJWwiI9bHwcICgT4/gJT40xQKoh70BibsejFm55eZnzmU9srj6V8AUgYsJ9jVzls5lsIIdAn8uHmc0I8mTpyr4w2kfBaLV9di5J30HbjNUvfVEmMWc0xJiVxjCrwiAcGB9QbGxvCx58aRXNbx49u9r+0CmKvORobnYC5OikbVIsEzDJwctOHKGL6m9WOqi4edfw/XU+fSqJFEPcr0iLwFkm+Srl/UCyn5NjeMEaESTsiNxr3GB6hNoKqzUL3cBGagwYJNWLbEqAWSGwti1LWf3vQrnu9x2H8hDyrCxPIzViudsJPYpu3ngsPHeYP3FbqAYv9/8a3zEkHAw1clmLVGx1YdDLPYWGSl+KWZOMOoHZ12fIX44q5lWt9LTMwFB0ZvGNrWhjXrfmakLYYcOq0f2T40Hy1vspfqhGFqwkpx4Y0z7Q= 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)(366004)(136003)(346002)(4744005)(316002)(5660300002)(110136005)(52536014)(76116006)(9686003)(71200400001)(26005)(86362001)(450100002)(166002)(478600001)(186003)(75432002)(19627405001)(8676002)(55016002)(33656002)(66556008)(66446008)(66946007)(64756008)(66476007)(7696005)(966005)(6506007)(786003)(8936002)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?ASu76+eTPr2Ksz5WIxoHn+JwypBCOtaVXtF3MwhsDqTdKbQ7P8l7L7gevQ?= =?iso-8859-1?Q?CJ+QreCB4PpsaWElGbWoXcox/GYcAuQqzPAyx+1VaadA/t7eS0EIO4QTR+?= =?iso-8859-1?Q?w2VyM4HYhpT+gmeSgzGsC5paJSQnSg9cRZAVRV6q/mtaEqvl0ElphgmVM3?= =?iso-8859-1?Q?av3YZrDJa8pskGYCPX/lF+EbKayKqfiMRbp1wzrGNl2Q9rN9bNN/WLMJpk?= =?iso-8859-1?Q?G7/qg8zumOYI9vQxm3dWvw8HKbFYNkgLWKx5Ovy8GbUbGjcAE8x3oLgkyZ?= =?iso-8859-1?Q?GFUC5vuGGYrAAvQqIe11h4LYJ3QG6SYfg/H7WxyjeQDNimy4/00Sd70xHO?= =?iso-8859-1?Q?Lb1ZEC+1zj3yyY1jfb85aeAt4i+svdwjPk5DBlek+QjYcL9DMqNWeYIPX3?= =?iso-8859-1?Q?bK8uq0PWQ61xkCUaZlCd3MqSuBl2gFkd2y65E5lkrYK+36M3OqWwe3j6KA?= =?iso-8859-1?Q?VedBi9z7NI92q283kowMYhjWrZtdWJZ+kQ4//vRAjCdSxv4K5wG6E5smuQ?= =?iso-8859-1?Q?LJkIFkFKpfr22pr9qpNnwZP+H2iWzDmEDcOcl3x+fS4mNa1rWmJ8taogKz?= =?iso-8859-1?Q?ZUP7tBLBK8OAprQA2Y90r/+LD440oXPlPcviQsUlPopZm0Gkt2obn9vdZd?= =?iso-8859-1?Q?/kpdmLc+thXjv1kQQXDenWzM+3XCfQMep91oiyrwbwCVoLDGzwDhx6S6yp?= =?iso-8859-1?Q?8B9GRd0u4h5NHRc2n3aSScHJN+uLK968Svr7HPx9uqL7R9FhDVlFSovIxl?= =?iso-8859-1?Q?t1WzgLWHqTokdRaJfJm+s0L59cLzvCyupgqTw7mQJOWBKpPCq2uD9dS5GV?= =?iso-8859-1?Q?/kht/oVUrabdhfMM0R4t3uPcj2rCbzieFREDK6HlyqRb6tiidWvHenTWm3?= =?iso-8859-1?Q?M6l8kN6iMRDR93RPXb55L2S84F2jMLTxZKD4aAQt5HvfirzvOzvwXXnVQZ?= =?iso-8859-1?Q?e9Dr0RShU2FHnJpUmG+G9L6MuPc3YLods+LHI0zOFx9sIzGZxDK92cLfsW?= =?iso-8859-1?Q?KKRC1jo4iLxrqR3ov/PnMZFW7IglkoyuAb3xQtlGQznX0+TjpzbgYSpnq6?= =?iso-8859-1?Q?Fqt5gz9muKjpJb1gtViHSeMjzDLfuoqSldBqhAdqTR0zAiCo7QQvf2SrXX?= =?iso-8859-1?Q?teI3LxnPraOWx0MfyM7T7h4P2KlwVpOPKnlBbSyGBhhfuQNl/W+BGMXQxx?= =?iso-8859-1?Q?fs9y7+d/dayvhjfPRlEityk0VljwoLoNKjDEUKz578EI3M5LrH7Gca6TFK?= =?iso-8859-1?Q?WseyfTxfFtqBEuDAns5dQ1Xa2hvgflc6bh6g3qr6keLnQ5B0+WqLuqrvza?= =?iso-8859-1?Q?yYZ35XpmKPSF6MvbMZXO3qPfwI2v2zy+IYf5qecYXGr92cBYeZjT8BkPyy?= =?iso-8859-1?Q?mYH2/yIiD4?= x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_BYAPR02MB4613CD9DCC0AE33C7528637BD4929BYAPR02MB4613namp_" 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: 5de0fc4e-cb1b-4cf8-1a4b-08d8e29b2ca9 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2021 01:32:16.8903 (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: x7mt68J+GXEA1f9uWVEHywUEcCmckRjaHt2muby9TRXJ/cJkdN6sKVhCNw8tIjrEgXJDfbiobG48+iBrNEAcTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR02MB6897 x-proofpoint-stanford-dir: outbound X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-08_22:2021-03-08, 2021-03-08 signatures=0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-08_22:2021-03-08, 2021-03-08 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 adultscore=100 lowpriorityscore=0 priorityscore=1501 mlxlogscore=942 clxscore=1011 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103090003 Subject: [dpdk-ci] Integration of DPDK into Bazel X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org Sender: "ci" --_000_BYAPR02MB4613CD9DCC0AE33C7528637BD4929BYAPR02MB4613namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 the= re is no much support for bazel from DPDK community. The only support at ht= tps://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 bra= nch). 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 portabl= e BUILD files to facilitate the integration of the newest DPDK into bazel p= roject (just like bazelment). After all, writing the bazel files can be rea= lly challenging, especially if we do not have a very deep understanding of = the whole DPDK codes. Jinkun --_000_BYAPR02MB4613CD9DCC0AE33C7528637BD4929BYAPR02MB4613namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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 the= re is no much support for bazel from DPDK community. The only support at https://gi= thub.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 portabl= e BUILD files to facilitate the integration of the newest DPDK into bazel p= roject (just like bazelment). After all, writing the bazel files can be rea= lly challenging, especially if we do not have a very deep understanding of the whole DPDK codes.


Jinkun
--_000_BYAPR02MB4613CD9DCC0AE33C7528637BD4929BYAPR02MB4613namp_--