From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2175EA0350; Thu, 25 Jun 2020 11:34:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0232025B3; Thu, 25 Jun 2020 11:34:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id DC01623D for ; Thu, 25 Jun 2020 11:34:54 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05P9WKvl012076; Thu, 25 Jun 2020 02:34:54 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pfpt0818; bh=eUuSwhOmOIsIi+SLVC4JNl6hDinzJRAgev5nJwNoJLU=; b=ZYImT9gnTYX3lhrf8p3EbhdheEobeM6aINc0npVY7M39DBZE4v6fD2bUlje+8L5LXNNI fBIZTSSRS9No0CyIo8dxcED/g9yoJhTIoGXZ6I3ws7lwFBPJVTza+xKWjSC7qcHjbaHF t1+t4ECpFiMdqZo0UUtEhu7G77IKkrHLIAVEVEtgJku51QdiHOOIzJsaOIsoLXo0njwx xKeHtnKx9OkpJkWHqGZoJsWGhriCC/8HX73HhlwsZtvcUc0nLcFvhRw64TyRoUFlUHCM Nt7kZGnXy3TZ68UMIr97WooeL9Lc0/1Eb/GlDTPOuIGv8c23gtWCi97MvhnPaCPma40r hA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 31uur1ewek-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 25 Jun 2020 02:34:54 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Jun 2020 02:34:52 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.58) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 25 Jun 2020 02:34:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cVHpjJR6F45R3c/vvQqkrlu6orMUguwrbgRueWRpiG6YQI9Idz6UHgfeUNOCq1DGMKxRp08VHFjK5NmD1am9dfccLSUGRhb7ZDFibb7Y1TFWgvcImi7XuCUoIRPFezmO3sVc6TdkBezAZB7EfxACnZNgLypWC94gWmEHGYyo1vh2xzNXWoOSXTuZa4rHo19UD9utb0+M+oLokVoxS72N+D+Bff3luTamc4S0BbMGD1+YMLCA8PCSciENFpZl/n7YTgcCE5/DLZijg3vWr1yFRgKIeeUBAEICH01oAWZIfqSXu0GQ+kTTP6ZVO1dpdpT1cv5RaQA6VNTMhXOyeCMziA== 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=eUuSwhOmOIsIi+SLVC4JNl6hDinzJRAgev5nJwNoJLU=; b=NaEhowyyLSSrAB+BVflFC0a+2RtNn5MEXiysPF8pTttV0UeIF1pxVoLc+aZ2SobJhUKCzq3DSlqre1gnYumT5c5TU4svjs/JrBb67oYnzKl9krQ91HSf2JF88Yq3eZmWuNa7OjojBNf8T3/WlzDcNEF7xRj3jNP1yTQIC28aAb3F4VE/GnsAZWNe7133NDoin/3R8vficSlvHr82V9KGQKmxkKCfpTvf/ek0AAQt/00ZqlNn1lRo0YzcJS3SVCE5rVcYxpr/FVB0cpWkALhnKAnBaAnkw9FEHTuz+6qb0M3CYBEQ9pgy3j0DLLsDGYg9Pz0I6itj3CE8m/BMTrK6Gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eUuSwhOmOIsIi+SLVC4JNl6hDinzJRAgev5nJwNoJLU=; b=S64Od+kv1V1pMaxReuuOrjcQ86QhEeYr1AzlsWj8K13PRUHunS/ADuocvUxb6I2yW25idgkkYzk99QT0pO1m4QH1bt491OUxjD8lduh1qbUZp05M966FQUSgwtUiWlYopuf7n1jfaA6eGc53hKrRw6CPGc4YXnOl7lQzfTPkR2s= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=marvell.com; Received: from MWHPR18MB1070.namprd18.prod.outlook.com (2603:10b6:300:a5::11) by MWHPR18MB1023.namprd18.prod.outlook.com (2603:10b6:300:9f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.23; Thu, 25 Jun 2020 09:34:51 +0000 Received: from MWHPR18MB1070.namprd18.prod.outlook.com ([fe80::e895:bdac:e157:2ed2]) by MWHPR18MB1070.namprd18.prod.outlook.com ([fe80::e895:bdac:e157:2ed2%11]) with mapi id 15.20.3131.020; Thu, 25 Jun 2020 09:34:50 +0000 Date: Thu, 25 Jun 2020 15:04:37 +0530 From: Harman Kalra To: Bruce Richardson CC: Thomas Monjalon , "Kilheeney, Louise" , "dev@dpdk.org" Message-ID: <20200625093436.GA99315@outlook.office365.com> References: <20200522132320.26373-1-louise.kilheeney@intel.com> <4878977.pQFTBNOIfY@thomas> <2851145.1dIjF4ch0v@thomas> <20200525095328.GC891@bricha3-MOBL.ger.corp.intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200525095328.GC891@bricha3-MOBL.ger.corp.intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-ClientProxiedBy: BM1PR01CA0166.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::36) To MWHPR18MB1070.namprd18.prod.outlook.com (2603:10b6:300:a5::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from outlook.office365.com (115.113.156.2) by BM1PR01CA0166.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:68::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21 via Frontend Transport; Thu, 25 Jun 2020 09:34:49 +0000 X-Originating-IP: [115.113.156.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b178e8cc-787e-4a17-335d-08d818eb0220 X-MS-TrafficTypeDiagnostic: MWHPR18MB1023: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:608; X-Forefront-PRVS: 0445A82F82 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lQgNRJsZpc3CTnKOtLTcBJfNpWVDh1hI8/fKdzlLg8eUMOtSqMWfZT3KKq8ESOFZBfosK5QnF9nRwIZmfcSwUrFaeOmarXBdLWnVIAiHgiiTiODkKxvuMNycIkvqOBrFmxvatGP8uFiA0IlTRIxl8sbG7lSIXVA6qsy0+6GOl6SkC8molDfgyettvgS+r/NpGc/ey64NJzASgjS9bp0P6LR0W76uVX9JltZtGndHDof6yjWscaCrsbHTmxXtyQxLsTab5MsMJTK2pwzKOGWXy0RHVCVpA7pq/xgi9FQTqmzkeBhe/mV3UXWw4FEPRtndgUQyhUOTp4JV37eAq1ABJg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR18MB1070.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(39860400002)(136003)(376002)(366004)(346002)(33656002)(6506007)(66946007)(5660300002)(1076003)(478600001)(6666004)(4326008)(52116002)(16526019)(54906003)(9686003)(956004)(55016002)(316002)(2906002)(55236004)(86362001)(66476007)(66556008)(26005)(83380400001)(186003)(6916009)(8676002)(8936002)(7696005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: OgoQ8RftOtUwu3sM89ooKSMDswo/9QyEtknvREnGEjXvv9IJ2JsaSau/RONh+jgh/zsNPiuuEx9LoVWIwu1mn2ETi2CVNlxYTGhGP5M4VKyuenbN9YCScb/z/mb54oljrxv1X/RAuJX8dWB5dnLlQ3m0yheNXsVzWPlOmp8mbvby0KvGGTgLcTHRLn0Aw0Jf2AtHTKjAqw8Zaj7wqeGcMl30YkDIWSY92iV6zg/ooSumtiq+fv/1olPg6ZNo/53Jh4XT0fRxxoKGygAhwBVroItbFNPur96h6X/GmxAhqy7vSwYAtGB5BaAbcwWgsGrIShkc2mggv64khhqto+fi3p4HHH93i9mnRwAk9+Q9+ApgcEMr81+dq/auYKnJk0XEpIVR5p/SXwM9kUrPrdrMReScXB/gznGTenE1yFmHOamJquPljOZrDHG55ZQ7+XxqcKljPDHGhF40fs5By8OVz6x2j4X63BCoV/iZDeyogs4= X-MS-Exchange-CrossTenant-Network-Message-Id: b178e8cc-787e-4a17-335d-08d818eb0220 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2020 09:34:50.7839 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6ljSLKoPeh51gfH++odXGOcL2lsv+Yqrt3/kSnuMCGVUYy5n85c9TF+FOFphlNBUxTYjb9Vdh2sR3b4L1UJX5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR18MB1023 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-06-25_04:2020-06-25, 2020-06-25 signatures=0 Subject: Re: [dpdk-dev] [PATCH 20.08 9/9] config/arm: support python3 only X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Mon, May 25, 2020 at 10:53:28AM +0100, Bruce Richardson wrote: > On Sat, May 23, 2020 at 11:27:42PM +0200, Thomas Monjalon wrote: > > 22/05/2020 16:10, Kilheeney, Louise: > > > From: Thomas Monjalon > > > > 22/05/2020 15:23, Louise Kilheeney: > > > > > Changed script to explicitly use python3 only. > > > > > > > > What is the reason of this change? > > > > > > since python 2 is EOL, Making these scripts to use python3-only, > > > it's part of a general update to have everything use python3. > > > This is already using python 3 and this makes it explicit. > > > > This is to avoid maintaining python 2 compatibility I guess. > > Please insert this real reason in the git commit log. > > > Also, python 2 may not be installed (unless explicitly requested) on > modern distro releases. My Ubuntu 20.04 still only had a "python3" binary, > no "python" binary. > > > > > > > --- a/config/arm/armv8_machine.py > > > > +++ b/config/arm/armv8_machine.py > > > > @@ -1,4 +1,4 @@ > > > > -#!/usr/bin/python > > > > +#!/usr/bin/python3 > > > > Are you sure all OS have /usr/bin/python3? > > Is it called "python" sometimes? > > Is it always located in /usr/bin/? > > Shouldn't we use "#! /usr/bin/env python3" ? > > > Good catch. > +1 for this. On BSD python is in /usr/local/bin Tested config/arm/armv8_machine.py on an arm64 platform, it works fine. +1 for the patch with changes recomended by Thomas. Tested-by: Harman Kalra