#
6f3dbd30 |
| 20-Sep-2024 |
Bruce Richardson <bruce.richardson@intel.com> |
build: increase minimum meson version to 0.57
In order to work around some deprecated functions in meson, we need to increase meson version. Increasing to 0.57 to also gain support for other useful
build: increase minimum meson version to 0.57
In order to work around some deprecated functions in meson, we need to increase meson version. Increasing to 0.57 to also gain support for other useful features for us in DPDK. Changes of interest to DPDK include:
* Use get_external_property instead of get_cross_property * Ability to use a VERSION file rather than hacking it with scripting * Ability to set built-in options in cross-build files * Ability to set pkg_config_libdir in cross-build files
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Robin Jarry <rjarry@redhat.com> Tested-by: Ferruh Yigit <ferruh.yigit@amd.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
#
9599c59b |
| 23-Jun-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
doc: prefer installing using Meson rather than Ninja
After doing a build, to install DPDK system-wide our documentation recommended using the "ninja install" command. However, for anyone building as
doc: prefer installing using Meson rather than Ninja
After doing a build, to install DPDK system-wide our documentation recommended using the "ninja install" command. However, for anyone building as a non-root user and only installing as root, the "meson install" command is a better alternative, as it provides for automatically dropping or elevating privileges as necessary in more recent meson releases [1].
[1] https://mesonbuild.com/Installing.html#installing-as-the-superuser
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
e24b8ad4 |
| 15-Nov-2022 |
Stephen Hemminger <stephen@networkplumber.org> |
doc: avoid meson deprecation in setup
The command "meson build" causes a deprecation warning with meson 0.64.0.
WARNING: Running the setup command as `meson [options]` instead of `meson setup [
doc: avoid meson deprecation in setup
The command "meson build" causes a deprecation warning with meson 0.64.0.
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Therefore fix the examples in the documentation.
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Stanislaw Kardach <kda@semihalf.com>
show more ...
|
#
909ad7b8 |
| 07-Oct-2022 |
Bruce Richardson <bruce.richardson@intel.com> |
build: increase minimum meson version to 0.53.2
This patchset bumps the minimum meson version from 0.49.2 to 0.53.2. Ideally, the minimum version should be 0.53 without a point release, but some DPD
build: increase minimum meson version to 0.53.2
This patchset bumps the minimum meson version from 0.49.2 to 0.53.2. Ideally, the minimum version should be 0.53 without a point release, but some DPDK builds (mingw) are broken with 0.53.0 due to issue[1], fixed by commit[2] in 0.53.1. Therefore we use the latest point release from 0.53 branch i.e. 0.53.2.
Some new features of interest which can now be used in DPDK with this new minimum meson version:
* can do header-file checks directly inside find_library calls, rather than needing a separate check.[v0.50]. * can pass multiple cross-files at the same time when cross-compiling [v0.51]. * "alias_target" function, to allow use to give better/shorter names for particular build objects [v0.52]. * auto-generation of clang-format [v0.50] and clang-tidy[v0.52] targets when those tools are present and config dotfiles are present. Similarly ctags and cscope are added as targets when those tools are present [v0.53] * meson module for filesystem operations, so meson can now check for the presence of particular files or directories [v0.53]. * "summary" function to provide a configuration summary at the end of the meson run [v0.53].
Plus many other features. See [3] for full details of each version.
[1] https://github.com/mesonbuild/meson/issues/6442 [2] https://github.com/mesonbuild/meson/pull/6457/commits/8e7a7c36b579 [3] https://mesonbuild.com/Release-notes.html
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
9cd9c570 |
| 11-Oct-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
doc: replace machine option in build guide
Update the docs to reflect the two new variables, cpu_instruction_set for non-arm builds and platform for arm builds.
Fixes: bf66003b51ec ("build: use pla
doc: replace machine option in build guide
Update the docs to reflect the two new variables, cpu_instruction_set for non-arm builds and platform for arm builds.
Fixes: bf66003b51ec ("build: use platform for generic and native builds")
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
show more ...
|
#
d1355fcc |
| 24-Feb-2021 |
Asaf Penso <asafp@nvidia.com> |
doc: add links for build requirements per OS
To compile with meson some dependencies should be installed. Section "Getting the Tools" describes what needed, but per OS there are additional steps to
doc: add links for build requirements per OS
To compile with meson some dependencies should be installed. Section "Getting the Tools" describes what needed, but per OS there are additional steps to do.
Add links to Linux, FreeBSD, and Windows guide for more info.
Signed-off-by: Asaf Penso <asafp@nvidia.com>
show more ...
|
#
8c105308 |
| 23-Mar-2021 |
Gabriel Ganne <gabriel.ganne@6wind.com> |
build: update minimum required Meson version
Bump Meson required version to 0.49.2 which is chosen so as to be provided by both redhat-8 and debian-10.
Update documentation and travis setup script
build: update minimum required Meson version
Bump Meson required version to 0.49.2 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
Signed-off-by: Gabriel Ganne <gabriel.ganne@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
show more ...
|
#
5b3a6ca6 |
| 30-Mar-2021 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
build: alias default build as generic
The current machine='default' build name is not descriptive. The actual default build is machine='native'. Add an alternative string which does the same build a
build: alias default build as generic
The current machine='default' build name is not descriptive. The actual default build is machine='native'. Add an alternative string which does the same build and better describes what we're building: machine='generic'. Leave machine='default' for backwards compatibility.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
c0a775a1 |
| 10-Sep-2020 |
Bruce Richardson <bruce.richardson@intel.com> |
doc: add SPDX license tag header to meson guide
The build-sdk-meson.rst file originates from the short plain-text meson instructions added in 2018. Add SPDX tag and copyright notice based on the ori
doc: add SPDX license tag header to meson guide
The build-sdk-meson.rst file originates from the short plain-text meson instructions added in 2018. Add SPDX tag and copyright notice based on the original commit.
Fixes: 9c3adc289c5e ("doc: add instructions on build using meson") Cc: stable@dpdk.org
Reported-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
1509ef93 |
| 03-Sep-2020 |
Bruce Richardson <bruce.richardson@intel.com> |
doc: fix formatting of notes in meson guide
The "note" callouts in the chapter describing the meson build were incorrectly formatted, so adjust to use the correct markdown syntax.
Fixes: 9c3adc289c
doc: fix formatting of notes in meson guide
The "note" callouts in the chapter describing the meson build were incorrectly formatted, so adjust to use the correct markdown syntax.
Fixes: 9c3adc289c5e ("doc: add instructions on build using meson") Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
show more ...
|
#
8549295d |
| 30-Jun-2020 |
Bruce Richardson <bruce.richardson@intel.com> |
build/pkg-config: improve static linking flags
Rather than setting -Bstatic in the linker flags when doing a static link, and then having to explicitly set -Bdynamic again afterwards, we can update
build/pkg-config: improve static linking flags
Rather than setting -Bstatic in the linker flags when doing a static link, and then having to explicitly set -Bdynamic again afterwards, we can update the pkg-config file to use -l:libfoo.a syntax to explicitly refer to the static library in question. Since this syntax is not supported by meson's pkg-config module directly, we can post-process the .pc files instead to adjust them.
Once done, we can simplify the examples' makefiles and the docs by removing the explicit static flag.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Luca Boccassi <bluca@debian.org> Acked-by: Sunil Pai G <sunil.pai.g@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
27db82c7 |
| 22-Apr-2020 |
Jerin Jacob <jerinj@marvell.com> |
trace: introduce new subsystem
Define the public API for trace support. This patch also adds support for the build infrastructure and update the MAINTAINERS file for the trace subsystem.
The 8 byte
trace: introduce new subsystem
Define the public API for trace support. This patch also adds support for the build infrastructure and update the MAINTAINERS file for the trace subsystem.
The 8 bytes tracepoint object is a global variable, and can be used in fast path. Created a new __rte_trace_point section to store the tracepoint objects as, - It is a mostly read-only data and not to mix with other "write" global variables. - Chances that the same subsystem fast path variables come in the same fast path cache line. i.e, it will enable a more predictable performance number from build to build.
Signed-off-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: Sunil Kumar Kori <skori@marvell.com> Acked-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
adbeba36 |
| 12-Aug-2019 |
Hari Kumar Vemula <hari.kumarx.vemula@intel.com> |
doc: add a guide to run unit tests with meson
Add a programmer's guide section for meson ut
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com> Acked-by: Bruce Richardson <bruce.richard
doc: add a guide to run unit tests with meson
Add a programmer's guide section for meson ut
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Michael Santana <msantana@redhat.com>
show more ...
|