Skip to content

Fix meson build on FreeBSD

Bruce Richardson dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v16 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5eal/bsdapp: fix building kernel moduleslib/librte_eal/bsdapp/BSDmakefile.meson lib/librte_eal/meson.build+1 -10 replies
2/5build: fix dependency on execinfo for BSD meson buildsapp/test-eventdev/meson.build app/test-pmd/meson.build examples/meson.build +1 more+5 -10 replies
3/5test/test: mark tests as skipped when required lib not availabletest/test/test_kni.c test/test/test_power.c test/test/test_power_acpi_cpufreq.c +1 more+47 -00 replies
4/5test/test: fix dependency on power lib for BSD meson buildtest/test/meson.build+3 -10 replies
5/5test/test: fix dependency on KNI lib for BSD meson buildtest/test/meson.build+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Fix meson build on FreeBSD

There are a few issues with building DPDK for FreeBSD using the meson build system, specifically:
* the kernel modules aren't compiling due to an incorrect VPATH
* a number of unit tests depend on libraries not supported on BSD
* applications and examples need to be linked with execinfo library.

----
V2: merged patch 6 in with patch 2, since it's the same fix for main apps
and for the examples.

Bruce Richardson (5):
eal/bsdapp: fix building kernel modules
build: fix dependency on execinfo for BSD meson builds test/test: mark tests as skipped when required lib not available test/test: fix dependency on power lib for BSD meson build test/test: fix dependency on KNI lib for BSD meson build

 app/test-eventdev/meson.build           |  1 +
 app/test-pmd/meson.build                |  1 +
 examples/meson.build                    |  3 ++-
 lib/librte_eal/bsdapp/BSDmakefile.meson |  1 +
 lib/librte_eal/meson.build              |  1 -
 test/test/meson.build                   |  8 +++++++-
 test/test/test_kni.c                    | 13 +++++++++++++
 test/test/test_power.c                  | 12 ++++++++++++
 test/test/test_power_acpi_cpufreq.c     | 11 +++++++++++
 test/test/test_power_kvm_vm.c           | 11 +++++++++++
 10 files changed, 59 insertions(+), 3 deletions(-)
Signature · 1 line
2.14.1