[dpdk-dev] [PATCH v2] build: mention machine=default and its use in documentation
Luca Boccassi
bluca at debian.org
Wed Feb 27 13:16:11 CET 2019
On Mon, 2019-01-14 at 13:41 +0000, Luca Boccassi wrote:
> 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 at debian.org>
> Reviewed-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> ---
> v2: fix typo, add commit body and reviewed-by
>
> 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..ab33ca82a 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 # use 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::
Ping - anything else I can do for this patch? Thanks!
--
Kind regards,
Luca Boccassi
More information about the dev
mailing list