From patchwork Thu Apr 18 09:30:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 52905 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 2B8431B8C8; Thu, 18 Apr 2019 11:30:30 +0200 (CEST) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id AF9151B7E6 for ; Thu, 18 Apr 2019 11:30:28 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id h4so2081441wre.7 for ; Thu, 18 Apr 2019 02:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OdNXQT70mpMZ0mv8tccM5+p5KeXS12wpB5Z3p1aTvHI=; b=INtF6iWngC5WPoHp448gEzhG9sHqSkfeDbt68FdsP4qqrYilsyJ4+TBYrhAXsUBh4o 7h3lRORx2t2FmgAami3WRNhfMbLClOBHC5/XZ0+yFzh9PHD7CJCODV9fPwJ37SOIpEal BGnAcUp/JnRlhNSO7GwHjGnuJdEXuClI1T/7GFESc8WbCBHwAqqPUJOOXQUU1m1uDOqW 55n2l5Wx7fZntYsoULjRVcd2rarw/G9aNP+ffd9pEye/HZxKBl25ITs1FWZ6DlSZbaVL gvSU8VKjXlKiAhIYg/I4h6KYqRcLH0jh9WW38aBu2PiUZZnybs4JDtVvYmrsB/sxj0U6 3l3w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=OdNXQT70mpMZ0mv8tccM5+p5KeXS12wpB5Z3p1aTvHI=; b=igK7Ll3XghQ1OeyPRyKsrhryWm9cZTHCxrCokWCAbDOSp3PGhl06U5K8XyXigo39U+ wdmPj2bRqIajDvafQ2iVK+NLzkoS/gOt3Ge5GIvW4XClupPv7vU/5vLJxtNEeVqftHxK ILNZsd1rjFyYw11rZnnHdPhIEJKdoMswr8z/tMAyZdoX683HHD1c/0BjuQg3vmf456SR 09hWYpfDaRf7R7t3XhjurbwBWkmwf2peL0JfFPEfqqh/mmJxCqsg6ziqvybZN2ZJsNh2 HYRJp3ez2NIXKroXezq3SsjKdUkBGA8UwuOfXFIqjUgt3WmgGB6ce6nUnnrTQQigumdW lzGw== X-Gm-Message-State: APjAAAW/seC8biZbSvsr0J1kljf/bfaZ5x7JB6fIBor/txlnQM1lPJC5 XlX3N46dSo4htCIokQ7BW733h8Nh X-Google-Smtp-Source: APXvYqyfBwnclakTRacbfs1Ejg8hV5fF5G/Qv04MNOIvi3y9NB4woGcKUVHAC16lOjQKl8PEvAkhow== X-Received: by 2002:adf:c10e:: with SMTP id r14mr59106419wre.168.1555579827988; Thu, 18 Apr 2019 02:30:27 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id s12sm1193543wmj.42.2019.04.18.02.30.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Apr 2019 02:30:26 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: thomas@monjalon.net Date: Thu, 18 Apr 2019 10:30:20 +0100 Message-Id: <20190418093020.18973-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190114112331.15761-1-bluca@debian.org> References: <20190114112331.15761-1-bluca@debian.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3] 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" From: Luca Boccassi Document the new value, as it's useful for distributions and users who need to use a stable baseline -march Signed-off-by: Luca Boccassi Reviewed-by: Christian Ehrhardt Reviewed-by: Jerin Jacob --- v2: fix typo, add commit body and reviewed-by v3: added one more reviewed-by, reworded the note as suggested 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 912cb3a8c..7b802442b 100644 --- a/doc/build-sdk-meson.txt +++ b/doc/build-sdk-meson.txt @@ -82,6 +82,8 @@ Project-specific options are passed used -Doption=value:: meson -Denable_docs=true fullbuild # build and install docs + meson -Dmachine=default # use builder-independent baseline -march + Examples of setting the same options using meson configure:: meson configure -Dwerror=true @@ -98,6 +100,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 uses a config that works on all supported 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::