From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=p23etD/+rl/AfVIBbPGDz6kVTy223NxvuEaY97bv+I4=; b=LT7xNf/E2gfo/ruvjRlP9Mcwc9qGW5VTDtgkjDJqV2A9TuxXA8aFhyz07buF3W3KeG Y27t4U5LgIM2Lgau00jJdEnSMnlcBvNcTYIB7/Pob3gEdnJj6L/e/XaRB4KNqOdubL1c CYgHvmtZzYYCEcCuY0T0kq7H6wXcSHsbl8sOFH85O6RykuFPDmI3LaWerU9pFkTgiH9I L8bJgfMMgxpiIp2Z1ZqLA8zvRRSUp2PPlnOUaeB878N0iul5ZLDpH5gCXAPY7iS3DTA9 n2pnT0M9DMjicPSsk41p1hg/Ch+/JEtR2FSIPP7V0LJ/gYWyAAxlxEjQgl4prBGL8WW+ 1R5w== X-Gm-Message-State: AJcUukeaOOrD9p0PeCSP/V0/RbFmnxT8Nb+pWzdrlohcx4Dj9MZK4ulX oKH+Os3VOwHr1/0P6WlHe8HjzjATj3w= X-Google-Smtp-Source: ALg8bN6Qp9EQc8dx/wtPdJtnCgg4USdhVsrz8vug8R/eL4qQaOwVQzF8EiaKTNuKQxApPXuv8Hx/ng== X-Received: by 2002:adf:f8cf:: with SMTP id f15mr23955953wrq.265.1547465025368; Mon, 14 Jan 2019 03:23:45 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id q6sm11083428wmq.4.2019.01.14.03.23.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 03:23:44 -0800 (PST) From: Luca Boccassi To: dev@dpdk.org Cc: jerinj@marvell.com, bruce.richardson@intel.com, Luca Boccassi Date: Mon, 14 Jan 2019 11:23:31 +0000 Message-Id: <20190114112331.15761-1-bluca@debian.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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 11:23:46 -0000 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