From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Boccassi Subject: [PATCH] build: mention machine=default and its use in documentation Date: Mon, 14 Jan 2019 11:23:31 +0000 Message-ID: <20190114112331.15761-1-bluca@debian.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: jerinj@marvell.com, bruce.richardson@intel.com, Luca Boccassi To: dev@dpdk.org Return-path: Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 1D6BA1B13C for ; Mon, 14 Jan 2019 12:23:46 +0100 (CET) Received: by mail-wr1-f67.google.com with SMTP id u4so22409995wrp.3 for ; Mon, 14 Jan 2019 03:23:46 -0800 (PST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 + 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