From patchwork Mon Jan 14 11:23:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 49793 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C84641B140; Mon, 14 Jan 2019 12:23:46 +0100 (CET) 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 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Luca Boccassi Reviewed-by: Christian Ehrhardt --- 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::