Skip to contentSkip to conversation

meson: fix minimum required meson version

PATCH Superseded Gabriel Ganne 4 participants 9 messages Mar 22, 2021 – Apr 19, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 meson: fix minimum required meson version

WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

console argument is used within kernel/linux/kni/meson.build

Update documentation and travis setup script accordingly.

---
 .ci/linux-setup.sh                        | 2 +-
 doc/guides/linux_gsg/sys_reqs.rst         | 2 +-
 doc/guides/prog_guide/build-sdk-meson.rst | 2 +-
 doc/guides/windows_gsg/build_dpdk.rst     | 2 +-
 meson.build                               | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
.ci/linux-setup.sh +1 -1
index 5d3089cadd62..a181029ec49a 100755
@@ -1,7 +1,7 @@
 #!/bin/sh -xe
 
 # need to install as 'root' since some of the unit tests won't run without it
-sudo python3 -m pip install --upgrade 'meson==0.47.1'
+sudo python3 -m pip install --upgrade 'meson==0.48'
 
 # setup hugepages. error ignored because having hugepage is not mandatory.
 cat /proc/meminfo
doc/guides/linux_gsg/sys_reqs.rst +1 -1
index d7ea8520e558..6a1712f3145c 100644
@@ -45,7 +45,7 @@ Compilation of the DPDK
 
 *   Python 3.5 or later.
 
-*   Meson (version 0.47.1+) and ninja
+*   Meson (version 0.48.0+) and ninja
 
     * ``meson`` & ``ninja-build`` packages in most Linux distributions
 
doc/guides/prog_guide/build-sdk-meson.rst +1 -1
index 3429e264797d..4f3d0bd21f1a 100644
@@ -35,7 +35,7 @@ The ``meson`` tool is used to configure a DPDK build. On most Linux
 distributions this can be got using the local package management system,
 e.g. ``dnf install meson`` or ``apt-get install meson``. If meson is not
 available as a suitable package, it can also be installed using the Python
-3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.47.1 of meson is
+3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.48.0 of meson is
 required - if the version packaged is too old, the latest version is
 generally available from "pip".
 
doc/guides/windows_gsg/build_dpdk.rst +1 -1
index 5f1395f3d483..854b8b05cfff 100644
@@ -64,7 +64,7 @@ A good option to choose is the MSI installer for both meson and ninja together::
 
 	http://mesonbuild.com/Getting-meson.html#installing-meson-and-ninja-with-the-msi-installer%22
 
-Recommended version is either Meson 0.47.1 (baseline) or the latest release.
+Recommended version is either Meson 0.48.0 (baseline) or the latest release.
 
 Install the Backend
 -------------------
meson.build +1 -1
index 7778e18200a9..65c46f051365 100644
@@ -8,7 +8,7 @@ project('DPDK', 'C',
 		files('VERSION')).stdout().strip(),
 	license: 'BSD',
 	default_options: ['buildtype=release', 'default_library=static'],
-	meson_version: '>= 0.47.1'
+	meson_version: '>= 0.48.0'
 )
 
 # set up some global vars for compiler, platform, configuration, etc.
Signature · 1 line
2.29.2
#1 lore raw

PATCH v3 1/1 meson: update minimum required meson version

Bump meson required version to 0.49.2 which is chosen to be the same as in both redhat-8 and debian-10.

Update documentation and travis setup script accordingly.

This fixes the following warning:
WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

'console' argument is used within kernel/linux/kni/meson.build

---
 .ci/linux-setup.sh                        | 2 +-
 doc/guides/linux_gsg/sys_reqs.rst         | 2 +-
 doc/guides/prog_guide/build-sdk-meson.rst | 2 +-
 doc/guides/windows_gsg/build_dpdk.rst     | 2 +-
 meson.build                               | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
.ci/linux-setup.sh +1 -1
index 5d3089cadd62..ca35b4b38d67 100755
@@ -1,7 +1,7 @@
 #!/bin/sh -xe
 
 # need to install as 'root' since some of the unit tests won't run without it
-sudo python3 -m pip install --upgrade 'meson==0.47.1'
+sudo python3 -m pip install --upgrade 'meson==0.49.2'
 
 # setup hugepages. error ignored because having hugepage is not mandatory.
 cat /proc/meminfo
doc/guides/linux_gsg/sys_reqs.rst +1 -1
index d7ea8520e558..dfe8f4ef3bfb 100644
@@ -45,7 +45,7 @@ Compilation of the DPDK
 
 *   Python 3.5 or later.
 
-*   Meson (version 0.47.1+) and ninja
+*   Meson (version 0.49.2+) and ninja
 
     * ``meson`` & ``ninja-build`` packages in most Linux distributions
 
doc/guides/prog_guide/build-sdk-meson.rst +1 -1
index 3429e264797d..b54a0b7b57ff 100644
@@ -35,7 +35,7 @@ The ``meson`` tool is used to configure a DPDK build. On most Linux
 distributions this can be got using the local package management system,
 e.g. ``dnf install meson`` or ``apt-get install meson``. If meson is not
 available as a suitable package, it can also be installed using the Python
-3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.47.1 of meson is
+3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.49.2 of meson is
 required - if the version packaged is too old, the latest version is
 generally available from "pip".
 
doc/guides/windows_gsg/build_dpdk.rst +1 -1
index 5f1395f3d483..0c5979dc193e 100644
@@ -64,7 +64,7 @@ A good option to choose is the MSI installer for both meson and ninja together::
 
 	http://mesonbuild.com/Getting-meson.html#installing-meson-and-ninja-with-the-msi-installer%22
 
-Recommended version is either Meson 0.47.1 (baseline) or the latest release.
+Recommended version is either Meson 0.49.2 (baseline) or the latest release.
 
 Install the Backend
 -------------------
meson.build +1 -1
index 7778e18200a9..60973fb18ac3 100644
@@ -8,7 +8,7 @@ project('DPDK', 'C',
 		files('VERSION')).stdout().strip(),
 	license: 'BSD',
 	default_options: ['buildtype=release', 'default_library=static'],
-	meson_version: '>= 0.47.1'
+	meson_version: '>= 0.49.2'
 )
 
 # set up some global vars for compiler, platform, configuration, etc.
Signature · 1 line
2.29.2
#2 lore raw

Re: [dpdk-dev] [PATCH v3] meson: update minimum required meson version

Quoted 5 lines · Gabriel Ganne

Bump meson required version to 0.49.2 which is chosen to be the same as in both redhat-8 and debian-10.

Update documentation and travis setup script accordingly.

Quoted 7 lines

This fixes the following warning:
WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

'console' argument is used within kernel/linux/kni/meson.build

Repeating here the comment I had on earlier thread - I'd drop the ".2" when not necessary, i.e. unless we find there are bugs that cause us issues with 0.49 or 0.49.1. In general I think it's better to keep the required meson version only at the major release level. The reason it's currently at 0.47.1 rather than 0.47, was that 0.47 had a bug that prevented DPDK builds from working correctly.

Regards,
/Bruce

#3 lore raw

PATCH v4 1/1 meson: update minimum required meson version

In reply to Gabriel Ganne

Bump meson required version to 0.49 which is chosen so as to be provided by both redhat-8 and debian-10.

Update documentation and travis setup script accordingly.

This fixes the following warning:
WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

'console' argument is used within kernel/linux/kni/meson.build

---
 .ci/linux-setup.sh                        | 2 +-
 doc/guides/linux_gsg/sys_reqs.rst         | 2 +-
 doc/guides/prog_guide/build-sdk-meson.rst | 2 +-
 doc/guides/windows_gsg/build_dpdk.rst     | 2 +-
 meson.build                               | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
.ci/linux-setup.sh +1 -1
index 5d3089cadd62..eb6fc69c9c67 100755
@@ -1,7 +1,7 @@
 #!/bin/sh -xe
 
 # need to install as 'root' since some of the unit tests won't run without it
-sudo python3 -m pip install --upgrade 'meson==0.47.1'
+sudo python3 -m pip install --upgrade 'meson==0.49'
 
 # setup hugepages. error ignored because having hugepage is not mandatory.
 cat /proc/meminfo
doc/guides/linux_gsg/sys_reqs.rst +1 -1
index d7ea8520e558..f6ea29d47a4a 100644
@@ -45,7 +45,7 @@ Compilation of the DPDK
 
 *   Python 3.5 or later.
 
-*   Meson (version 0.47.1+) and ninja
+*   Meson (version 0.49+) and ninja
 
     * ``meson`` & ``ninja-build`` packages in most Linux distributions
 
doc/guides/prog_guide/build-sdk-meson.rst +1 -1
index 3429e264797d..d01166e8d27b 100644
@@ -35,7 +35,7 @@ The ``meson`` tool is used to configure a DPDK build. On most Linux
 distributions this can be got using the local package management system,
 e.g. ``dnf install meson`` or ``apt-get install meson``. If meson is not
 available as a suitable package, it can also be installed using the Python
-3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.47.1 of meson is
+3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.49 of meson is
 required - if the version packaged is too old, the latest version is
 generally available from "pip".
 
doc/guides/windows_gsg/build_dpdk.rst +1 -1
index 5f1395f3d483..d4a1fff429ff 100644
@@ -64,7 +64,7 @@ A good option to choose is the MSI installer for both meson and ninja together::
 
 	http://mesonbuild.com/Getting-meson.html#installing-meson-and-ninja-with-the-msi-installer%22
 
-Recommended version is either Meson 0.47.1 (baseline) or the latest release.
+Recommended version is either Meson 0.49 (baseline) or the latest release.
 
 Install the Backend
 -------------------
meson.build +1 -1
index 7778e18200a9..0a232c2676e0 100644
@@ -8,7 +8,7 @@ project('DPDK', 'C',
 		files('VERSION')).stdout().strip(),
 	license: 'BSD',
 	default_options: ['buildtype=release', 'default_library=static'],
-	meson_version: '>= 0.47.1'
+	meson_version: '>= 0.49'
 )
 
 # set up some global vars for compiler, platform, configuration, etc.
Signature · 1 line
2.29.2
Acked-by on v4 1/1
#4 lore raw

Re: [dpdk-dev] [PATCH v4] meson: update minimum required meson version

Quoted 5 lines · Gabriel Ganne

Bump meson required version to 0.49 which is chosen so as to be provided by both redhat-8 and debian-10.

Update documentation and travis setup script accordingly.

Quoted 8 lines

This fixes the following warning:
WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

'console' argument is used within kernel/linux/kni/meson.build

---

#5 lore raw

Re: [dpdk-dev] [PATCH v4] meson: update minimum required meson version

Quoted 10 lines · Bruce Richardson
Quoted 9 lines · Gabriel Ganne

Bump meson required version to 0.49 which is chosen so as to be provided by both redhat-8 and debian-10.

Update documentation and travis setup script accordingly.

This fixes the following warning:
WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

Quoted 6 lines
Quoted 4 lines

'console' argument is used within kernel/linux/kni/meson.build

---

#6 lore raw

Re: [dpdk-dev] [PATCH v4] meson: update minimum required meson version

23/03/2021 11:13, Andrew Rybchenko:

Quoted 11 lines · Bruce Richardson
Quoted 10 lines · Gabriel Ganne
Quoted 9 lines

Bump meson required version to 0.49 which is chosen so as to be provided by both redhat-8 and debian-10.

Update documentation and travis setup script accordingly.

This fixes the following warning:
WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

Quoted 7 lines
Quoted 5 lines
Quoted 4 lines

'console' argument is used within kernel/linux/kni/meson.build

---

Applied, thanks

#7 lore raw

Re: [dpdk-dev] [PATCH v4] meson: update minimum required meson version

16/04/2021 17:01, Thomas Monjalon:

Quoted 14 lines

23/03/2021 11:13, Andrew Rybchenko:

Quoted 13 lines · Bruce Richardson
Quoted 12 lines · Gabriel Ganne
Quoted 11 lines

Bump meson required version to 0.49 which is chosen so as to be provided by both redhat-8 and debian-10.

Update documentation and travis setup script accordingly.

This fixes the following warning:
WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

'console' argument is used within kernel/linux/kni/meson.build

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 2 lines

---

Applied, thanks

David reported to me that Bruce did an interesting comment in the thread of the v1:
https://inbox.dpdk.org/dev/[email protected]/

So I've changed the version from 0.49 to 0.49.2.

Hope there will be no issue.

#8 lore raw

Re: [dpdk-dev] [PATCH v4] meson: update minimum required meson version

Quoted 23 lines · Thomas Monjalon

16/04/2021 17:01, Thomas Monjalon:

Quoted 14 lines

23/03/2021 11:13, Andrew Rybchenko:

Quoted 13 lines · Bruce Richardson
Quoted 12 lines · Gabriel Ganne
Quoted 11 lines

Bump meson required version to 0.49 which is chosen so as to be provided by both redhat-8 and debian-10.

Update documentation and travis setup script accordingly.

This fixes the following warning:
WARNING: Project targeting '>= 0.47.1' but tried to use feature introduced
in '0.48.0': console arg in custom_target

'console' argument is used within kernel/linux/kni/meson.build

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 2 lines

---

Applied, thanks

Quoted 8 lines

David reported to me that Bruce did an interesting comment in the thread of the v1:
https://inbox.dpdk.org/dev/[email protected]/

So I've changed the version from 0.49 to 0.49.2.

Hope there will be no issue.

I would not expect so. Thanks for fixing it up on apply.