devtools: update Meson setup command
PATCH 1/1 devtools: update Meson setup command
The command "meson build" causes a deprecation warning with meson 0.64:
WARNING: Running the setup command as meson [options] instead of
meson setup [options] is ambiguous and deprecated.
--- .ci/linux-build.sh | 2 +- devtools/test-meson-builds.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
.ci/linux-build.sh +1 -1
@@ -163,7 +163,7 @@ if [ "$ABI_CHECKS" = "true" ]; then if [ ! -d reference ]; then refsrcdir=$(readlink -f $(pwd)/../dpdk-$REF_GIT_TAG) git clone --single-branch -b "$REF_GIT_TAG" $REF_GIT_REPO $refsrcdir - meson $OPTS -Dexamples= $refsrcdir $refsrcdir/build + meson setup $OPTS -Dexamples= $refsrcdir $refsrcdir/build ninja -C $refsrcdir/build DESTDIR=$(pwd)/reference ninja -C $refsrcdir/build install devtools/gen-abi.sh reference
devtools/test-meson-builds.sh +2 -2
@@ -124,8 +124,8 @@ config () # <dir> <builddir> <meson options> options="$options -D$option" done options="$options $*" - echo "$MESON $options $dir $builddir" >&$verbose - $MESON $options $dir $builddir + echo "$MESON setup $options $dir $builddir" >&$verbose + $MESON setup $options $dir $builddir } compile () # <builddir>
Signature · 1 line
2.38.1
Quoted 7 lines · Thomas Monjalon
The command "meson build" causes a deprecation warning with meson 0.64:
WARNING: Running the setup command as
meson [options]instead of
meson setup [options]is ambiguous and deprecated.Signed-off-by Thomas Monjalon <[email protected]>
Signature · 1 line
David Marchand
Thomas Monjalon
Applied06/12/2022 11:27, David Marchand:
Quoted 10 lines · Thomas Monjalon
Quoted 7 lines
The command "meson build" causes a deprecation warning with meson 0.64:
WARNING: Running the setup command as
meson [options]instead of
meson setup [options]is ambiguous and deprecated.Signed-off-by Thomas Monjalon <[email protected]>Reviewed-by David Marchand <[email protected]>
Applied
Quoted 7 lines · Thomas Monjalon
The command "meson build" causes a deprecation warning with meson 0.64:
WARNING: Running the setup command as
meson [options]instead of
meson setup [options]is ambiguous and deprecated.Signed-off-by Thomas Monjalon <[email protected]>---
Quoted 7 lines · Thomas Monjalon
The command "meson build" causes a deprecation warning with meson 0.64:
WARNING: Running the setup command as
meson [options]instead of
meson setup [options]is ambiguous and deprecated.Signed-off-by Thomas Monjalon <[email protected]>---