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 5280B42C6D; Fri, 9 Jun 2023 13:19:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48BB241153; Fri, 9 Jun 2023 13:19:31 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 926AA40A84 for ; Fri, 9 Jun 2023 13:19:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686309569; x=1717845569; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=z0MTlT4WLiHcIxZMxjxrbb2pu1XeVWCaMiodSpjiw68=; b=IXZbw79O6pgh/z+Fcrw5hG6Vt5hrAUfi7/38luvP7fNcFcUSVPYZAl+i jKYHzmeyOWM0qt6BwALBTuP9jBER5Y2GLehE1HRxX9G1Ozn0AnPLsoDd5 qTKyYfqZbdBKQJE2/ASzgNjWBB+yZkr+ALAGi3GHySwI6becUMX6tDCY7 6tX7AqzyBQ6+J1iTh4Y3dffoFVBV/WZQbm+2xuyqgnCa/Ygt8Sbj0cObX fizHFC6+0DrqyZpaPbTNCn8wRy1R1Q6QTsvJiAcOEmAthvOjnYHGr4hAg /hieBzHopEonGV+H0ugkPy98pRFJx92+0PzHsqQ0dpo0WC7PXMxw7Xq5H Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10735"; a="385935385" X-IronPort-AV: E=Sophos;i="6.00,229,1681196400"; d="scan'208";a="385935385" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2023 04:19:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10735"; a="775468372" X-IronPort-AV: E=Sophos;i="6.00,229,1681196400"; d="scan'208";a="775468372" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 09 Jun 2023 04:19:23 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 9 Jun 2023 04:19:23 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 9 Jun 2023 04:19:22 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Fri, 9 Jun 2023 04:19:22 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Fri, 9 Jun 2023 04:19:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PCFBnSaBcOPZqXNd1/UjKimouZAH4L3VOGNtIQhNLJ/GioxkgH432kIwD2EY7CM0CprLfWBzwicbp8mMGXO6VNvDewz6gfYXnhv8p5E4mH9tIfXc8WTM03KbeEAly4g9+tpdiNGqmdJHiltA2JtPMmRFi+wkwci4ldiZAi6gnoFCbkTQofYvU65H23G/rV/s8t2zIa5bR1r1jQumAtMmeUnj33Kx2SpJwizcZfqolDKOH+a7IE7yqoyn0IlDndelqcODSicwedSgHGNLEdv12ocjRO+9PpNsIwePnPPKLAMCmXailCpqcBuCgJvErJEIxmmcn8TJijAkUqPZXqcpNQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VdPrc8bjxokb++86TN0ARjVd4aJS1FGJQMbgEUanjeo=; b=e2F2y3xBlM0M2mq2PiZ8ZExfHLEC8RHpe6kWzCxwlN6Lbn7te6KKI5JLyBG4N2y+dOiOOBnZ/l38u8VW1Wix3rkrRoAav1GG/hmiMnBGZYz4ho48YUGCu96WW5CHVb5dB+HNNrGU96G6kI+lL2nzZfw5G3UA86Bv/+uy3gccSh7eqyp/eh43VR9i27Fh/9kPb6unQ1ksGLVfvUIVfypU1UgGveILKKbANCJ6+wOHBQ9ePWPnaJEUZyaALscyQUK+4HLlZ7aLwo31eNr/pKYiJnS7sMz8PoZMdnPMDcKn3lLd9gMiDAzjXD4n4nF2Z6tvE6+KpQc1Ww8M8eULBkz3jA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH0PR11MB4984.namprd11.prod.outlook.com (2603:10b6:510:34::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.44; Fri, 9 Jun 2023 11:19:17 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::b8f3:958:d2c5:2232]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::b8f3:958:d2c5:2232%3]) with mapi id 15.20.6455.030; Fri, 9 Jun 2023 11:19:21 +0000 Date: Fri, 9 Jun 2023 12:19:13 +0100 From: Bruce Richardson To: David Marchand CC: Subject: Re: [PATCH] doc: prefer installing using meson rather than ninja Message-ID: References: <20230609105139.76239-1-bruce.richardson@intel.com> Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: LO6P265CA0012.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:339::16) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH0PR11MB4984:EE_ X-MS-Office365-Filtering-Correlation-Id: e18ffec6-2e6b-4c61-54c0-08db68db5f47 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v3xCPzWXWcOwwN9eoCrb/RLvm+vQJNIlnS3zBGrobQV5CLwCjz3HQkpwmB3bZmi7nyk+1N5TUWO6bivdvfeXZ557QRzZis+LqfSNu9BvyTdiX79gMoyFh3ZPOMd/GDoKAryoTPVV8ctg5sw/MStx61yyGSWn+Akjwku4Q5fjL9Yyca7NOqXNGkk1GfayUkyAlkx5aGkSXqu5/p9EGVHxPjib6sQollABuHacUujaxd4DHoaoAVcKQN7JToro/Lmq7S/eJObSIqHhGQXSzOFaKuOJWVf9PH6Cjyr4l89UueeAAAu4ki5GBTO+d3cA/izryHhc7LeqxJfs1rou0KWaradjjMNshMnt9R88WX53dNkrQBIpV/L8a7S0dCRBhdlUu+6wlITUG5W5QUscQl5di66mmVwcZuExavh2jwk2TnxRIeebZLYbTisZOQcAKfJh+vU/FJEt9EUiXZ7kMMCXq/oNdxqjcLi0Bd8Gva8Sw2LrcFo04uD5KhobMCcr7OuYCUYp5T6UePuMXTnhrjN+5YiCfcku9wW7RUMz/6yNV6E= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(376002)(39860400002)(366004)(136003)(396003)(451199021)(186003)(478600001)(82960400001)(966005)(6486002)(6666004)(26005)(6512007)(6506007)(53546011)(41300700001)(316002)(38100700002)(2906002)(5660300002)(8676002)(8936002)(44832011)(86362001)(66946007)(66476007)(66556008)(6916009)(4326008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d1M4N0VJZlh4dkF2dnVFL0wzVmlWR05QRVNsZXUwcUFSWURWNTFGeVd5SXgv?= =?utf-8?B?MW9icXVaeC9uMmtCaUJaeE1YN0p2QWp5MHFueVE5WVErdFNUUGRSNUsvZklp?= =?utf-8?B?R1RlaE01eFZodXdLNTBDeHpBQ0JSeFdCVEtUOFIrcFp0Z0ZRSCtsdFowUi8x?= =?utf-8?B?UVdmc3dEQnhpU2F2Z21zbWEvSThhTzZ1VTBad1RpanpTSWtLSHVwaEFXSUd6?= =?utf-8?B?L0NHQytoVHhvVFFKWDR0Q1FsM1NmRlZ4LzJoVWs5M0J2bnArc1pOdDA5TDNG?= =?utf-8?B?QnU2dFM3WHh3ajFKMTRYL1EwYmVyNjYxRk5xNWVZTU9heTJxUHA0Z3pNYmJi?= =?utf-8?B?SUkxcHRVRFgwcEp6WFRMN1pXbVN1MEdmSnNjREF1ckZMUkYvSFpwaFVMOTVX?= =?utf-8?B?cXozZW9YNlVuN29CZ05uWjZka3Z2RUdsMXN6WlU2SWxqY1FPdnFIdG1iY2tS?= =?utf-8?B?bGRtTmFiRTd1WDZ6VEo5NDJ2c3Q4am5senFIY01tQjNGbjE2YjVzL090NEVZ?= =?utf-8?B?MExjUk83Z2xZc1RsRU54UE1ZRTdvNHFNUWMw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HUE5JL0MwdXBTdjBDTkc5TGpDMjBXZkJ2ejExVCtYY3BO?= =?utf-8?B?UWZscHFjcHRjYURVZFJaSHlOL0xrb3AwamVhaTV0TDJSQ1pBL3FRQVROSUUv?= =?utf-8?B?b2FVZm1GM2M3R0VHUjNZTC9kMXNLZUFTVEFmTEtXeENwbDh3RmRaWFZxMGIx?= =?utf-8?B?T3llQjU0WEF4UStPZlFhRmw0MlJTOGZXaEtLcWxJYkd0aEJYaEtSakU5TnZ0?= =?utf-8?B?UFdtQmRZZUdlekpFNUJ1bjZGc09lMGVWdElTUm9yd0FvRU5tekV2NDNMSGJn?= =?utf-8?B?SElkWjlSRkt4VXRMV29KSlQyMWFQR3kwd3BTUENEcFVWMHFETjdpa3BQQmI1?= =?utf-8?B?ZVVEK0toeGQ2cjhYMk5CVUxFNUtndFhLNW9vNDA0NkhiMENWbFVYQnM5bTUr?= =?utf-8?B?QksyVi90bGZZMWFjNFhsK3JDK2s1Nk1RVjZvUFFiY21zVlpoZWpZcU4xN0Vn?= =?utf-8?B?Y1FZUUtqVUdVaTdrSnVDZVhVNEpVMG42Und3SzhUcGFhMWwzcGs1Q1lzMFh6?= =?utf-8?B?K3FoOWtpRVQ2RVVlNEUrWEV5aW9pb0lLZXU1bWJsQ2h0NmJ3TDJ1NHIyKy81?= =?utf-8?B?U2VtNmhGSUpwWVM0QkV2NjhsNEE2ekZRT25Hajl0UVNTcE1mWk1HVy8wY0ZP?= =?utf-8?B?SXJkbXFuUFRoVGtzUDl4SDRvTmlPdDdCazN5RHVZcEcvamNvZnZlRkk4SDNP?= =?utf-8?B?TXc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: e18ffec6-2e6b-4c61-54c0-08db68db5f47 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 11:19:20.9975 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: n/jb2SSWU0pisyNYPSLQFvqEmNrLTYs51ylj1Vp7phVZzcFrd+E0EVzo9Atsobuvo//PpKVQRRHkn/RTs0VGW7w+VWdIOyoS4GNOwb4eFyc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4984 X-OriginatorOrg: intel.com 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 On Fri, Jun 09, 2023 at 01:13:15PM +0200, David Marchand wrote: > On Fri, Jun 9, 2023 at 12:52 PM Bruce Richardson > wrote: > > > > After doing a build, to install DPDK system-wide our documentation > > recommended using the "ninja install" command. However, for anyone > > building as a non-root user and only installing as root, the "meson > > install" command is a better alternative, as it provides for > > automatically dropping or elevating privileges as necessary in more > > recent meson releases [1]. > > > > [1] https://mesonbuild.com/Installing.html#installing-as-the-superuser > > > > Signed-off-by: Bruce Richardson > > Should we align the CI scripts? > Hadn't considered it. For them, it probably doesn't matter. This change is only really for someone building as one user and then doing a sudo install. The CI scripts don't install system-wide so don't need any privilege changes. However, if you think our CI should just align with the practice in the docs, I can do a V2 with some CI changes too. /Bruce