From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by dpdk.org (Postfix) with ESMTP id 1ABCB5592 for ; Mon, 14 Jan 2019 14:33:05 +0100 (CET) Received: from mail-yw1-f72.google.com ([209.85.161.72]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1gj2MS-00042r-SF for dev@dpdk.org; Mon, 14 Jan 2019 13:33:04 +0000 Received: by mail-yw1-f72.google.com with SMTP id 201so12455085ywp.13 for ; Mon, 14 Jan 2019 05:33:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oKGeDEnNBZEKdpnUYVtAziia8ciql6OUdXL4NDStg/E=; b=RaDLg5xtKK7eaHdOsVlf1gwIdHaoGG4kpKBY3woKXdEueDli3Gs8go+g4swf0gn/6d k4fpu+y4NkoJGwuiG5tvagtkPekLQTAL3pU6/1kewk6pzHG2lQKTFDshVNxs87wtlQgC CNEJXaYAmg6XY47tIr7K2TFBrQiQt4saP5d520eX7yHpXz6fbLoHovt7x7jY/4lYAsXL 42UT7osD8WDeG5NAnfeU25D0uIgF7gHjzDomY8y033bLr1RIeyWf//RmoRfnDm+OdN6t 5UAc1BosqZEX4LC2Hce2My2sZUotR5Z7PFyzDcm6m8WmcdL4M11Vr1/rEjW1e632buks XDmQ== X-Gm-Message-State: AJcUukeZXRdlrsci9bh/41Om0dJl4LzdRorJUDdxjeSheQWYZ2/KF5/1 Trxqk6GDXO4R8x47sGHFidfpC1mPqxrv1TYiK8lIx6KClrY/NM15mRLA0wUFjNozG8w5iODsFqP eOLli+KNPyX3GDi8SSYTZgN8VlUS1WHu3aVWI X-Received: by 2002:a25:6801:: with SMTP id d1mr3508130ybc.84.1547472783842; Mon, 14 Jan 2019 05:33:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN59k2lr6W9lel7KzNfYElhVkZD3+zqCsIgYQU+eo9LmYZ4xknpav4V0qMdesD1f9HEfnx9iZoiHTWMcgGTGgR8= X-Received: by 2002:a25:6801:: with SMTP id d1mr3508105ybc.84.1547472783532; Mon, 14 Jan 2019 05:33:03 -0800 (PST) MIME-Version: 1.0 References: <20190114112331.15761-1-bluca@debian.org> In-Reply-To: <20190114112331.15761-1-bluca@debian.org> From: Christian Ehrhardt Date: Mon, 14 Jan 2019 15:32:37 +0200 Message-ID: To: Luca Boccassi Cc: dev , jerinj@marvell.com, Bruce Richardson Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] build: mention machine=default and its use in documentation 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: , X-List-Received-Date: Mon, 14 Jan 2019 13:33:05 -0000 On Mon, Jan 14, 2019 at 1:23 PM Luca Boccassi wrote: > > Signed-off-by: Luca Boccassi > --- > doc/build-sdk-meson.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/doc/build-sdk-meson.txt b/doc/build-sdk-meson.txt > index 29a8bd387..2efff58e2 100644 > --- a/doc/build-sdk-meson.txt > +++ b/doc/build-sdk-meson.txt > @@ -87,6 +87,8 @@ Project-specific options are passed used -Doption=value:: > > meson -Denable_docs=true fullbuild # build and install docs > > + meson -Dmachine=default # user builder-independent baseline -march Thanks for driving all the proper builder independent config Luca. In this line I'd assume you meant "use" not "user" right? Other than that: Reviewed-by: Christian Ehrhardt > + > Examples of setting the same options using meson configure:: > > meson configure -Dwerror=true > @@ -103,6 +105,9 @@ should be used to change the build settings within the directory, and when > ``ninja`` is called to do the build itself, it will trigger the necessary > re-scan from meson. > > +NOTE: machine=default will use the minimum required -march on all architectures > +regardless of the capabilities of the machine where the build is happening. > + > As well as those settings taken from ``meson configure``, other options > such as the compiler to use can be passed via environment variables. For > example:: > -- > 2.20.1 > -- Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd