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 DAFAF42C6D; Fri, 9 Jun 2023 13:21:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B70F1410D3; Fri, 9 Jun 2023 13:21:57 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 1BE9340EDB for ; Fri, 9 Jun 2023 13:21:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686309716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FN+exufzaxIgFXlWOBBG8Gl2rhkCmWwRpqN6QQ6oarc=; b=NnE1TjIhSrKnsdJnYn9Wnqg3NEpkLq6bcGZkvStvOQrmG+bJaxLSFj2ZJYGCQPcvoldkaK MC0MysmCkFD2kCd81O84mDdrHO8EhuP7bRSl9ZWJw095dngH+6D10gw6Yq2hQBLHeLuH61 A/vfXRqqO4fjgP/SJyfyI5/Uy5Yo3YM= Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-75-OuB1SaPyNUe00P-08y740g-1; Fri, 09 Jun 2023 07:21:55 -0400 X-MC-Unique: OuB1SaPyNUe00P-08y740g-1 Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-2566f2acd88so617884a91.1 for ; Fri, 09 Jun 2023 04:21:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686309714; x=1688901714; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FN+exufzaxIgFXlWOBBG8Gl2rhkCmWwRpqN6QQ6oarc=; b=F06dKlpgDWFQRPt+KcBOZMKSJ9B3vSMt2gnum5eqUV3VZ6qUE0eM2j1l/3MIeZjuJf TdwlkrakzixWlS+mFrcZA8TY5J8+AH60pMpHhEqvHVelk3az+YpF5sTuSawXqg7YnXAK wyf2QQAuSB7PQkOIZ7bm8iPdrk6BAjRu+zRth4Bzh0KDlSmKqUi6WQwnmpJrH8+/SWcG Dj4qtu1HRbC23vgWAUAO0BsJ94Rzsc+YENQs4jxwM4ZbTf2A5xGaYF5BxIA4GBVwkbWJ nOrDFxQ3yZrNAAo8Ry8GtcIAL+lcJJ2G4ag6ReDWCR1zSzbfkQGxUyR6Iyi1rHA1NigB SRhg== X-Gm-Message-State: AC+VfDwen2Bh6iBYc3J3XoiuD0zgYuB7kGb5VbxO1B0ocLNo/fQ/LhkO wfQdE9QtOswbie0EDWs4latzpzv1yb5D70Q/muYGFp7m631TY41d5b5lOGBIElIUN+0PdiU5bJP UIFl7FOiCzvLWITziHDY= X-Received: by 2002:a17:90b:4f4e:b0:256:5ad8:86d7 with SMTP id pj14-20020a17090b4f4e00b002565ad886d7mr1118554pjb.2.1686309714749; Fri, 09 Jun 2023 04:21:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5pXmGcd8UzY57FDBIQymAbR6e98tw2khQNsVHLIE86zQbQ5LM0SdazesnyD3udQFJ+Rbo8rlxBIOHRGokOj7c= X-Received: by 2002:a17:90b:4f4e:b0:256:5ad8:86d7 with SMTP id pj14-20020a17090b4f4e00b002565ad886d7mr1118544pjb.2.1686309714472; Fri, 09 Jun 2023 04:21:54 -0700 (PDT) MIME-Version: 1.0 References: <20230609105139.76239-1-bruce.richardson@intel.com> In-Reply-To: From: David Marchand Date: Fri, 9 Jun 2023 13:21:43 +0200 Message-ID: Subject: Re: [PATCH] doc: prefer installing using meson rather than ninja To: Bruce Richardson Cc: dev@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 9, 2023 at 1:19=E2=80=AFPM Bruce Richardson wrote: > > On Fri, Jun 09, 2023 at 01:13:15PM +0200, David Marchand wrote: > > On Fri, Jun 9, 2023 at 12:52=E2=80=AFPM 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-superuse= r > > > > > > 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 script= s > 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. My concern is that we recommend something we are not testing. So I'd prefer we have some minimal testing. --=20 David Marchand