summaryrefslogtreecommitdiff
path: root/doc/build-sdk-meson.txt
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2019-04-18 10:30:20 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-04-18 17:16:03 +0200
commitf0b86e3f2f41ac8f7f665b104dc2a098ec459b17 (patch)
tree49589b9da2aabe16178fda191017d46652e5b3ea /doc/build-sdk-meson.txt
parent380154406dc8ce6f46a1c3e4e9fced5ba67644a1 (diff)
downloaddpdk-f0b86e3f2f41ac8f7f665b104dc2a098ec459b17.zip
dpdk-f0b86e3f2f41ac8f7f665b104dc2a098ec459b17.tar.gz
dpdk-f0b86e3f2f41ac8f7f665b104dc2a098ec459b17.tar.xz
doc: mention machine=default option for meson
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 <bluca@debian.org> Reviewed-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Diffstat (limited to 'doc/build-sdk-meson.txt')
-rw-r--r--doc/build-sdk-meson.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/build-sdk-meson.txt b/doc/build-sdk-meson.txt
index 912cb3a..7b80244 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::