diff --git a/VERSION b/VERSION index 17109e28..c1174b12 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -24.05.1 +24.05.2 diff --git a/app/meson.build b/app/meson.build index dac1eef3..05c151f2 100644 --- a/app/meson.build +++ b/app/meson.build @@ -36,7 +36,9 @@ cflags = ['-D__PROJECT_VERSION="' + meson.project_version() + '"'] deps = [dpdk, common, utils, vec, plugin, cli, lua, hmap] -deps += [dependency('libfgen', required: true)] +if fgen_dep.found() + deps += [fgen_dep] +endif deps += [cc.find_library('rte_net_i40e', dirs: [dpdk_libs_path], required: false)] deps += [cc.find_library('rte_net_ixgbe', dirs: [dpdk_libs_path], required: false)] diff --git a/changelog.txt b/changelog.txt index 941b7bad..968e9646 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Pktgen-DPDK - Traffic Generator powered by DPDK ** (Pktgen) Sounds like 'Packet-Gen'** **=== Modifications ===** + - 24.05.2 - Make fgen requirement optional, which removes pktperf example. - 24.05.1 - Merge in the performance updates and remove old/unused features. - 24.05.0 - Update copyright and add comments to README.md and INSTALL.md files to point users to Pktgen-DPDK on GitHub as the primary supported version. diff --git a/examples/meson.build b/examples/meson.build index 85701088..a17e7f75 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -1,7 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) <2023> Intel Corporation -subdirs =['pktperf'] -foreach d:subdirs - subdir(d) -endforeach +if fgen_dep.found() + subdirs =['pktperf'] + foreach d:subdirs + subdir(d) + endforeach +endif diff --git a/meson.build b/meson.build index 4754df01..c629bb27 100644 --- a/meson.build +++ b/meson.build @@ -42,7 +42,7 @@ foreach arg: warning_flags endif endforeach -fgen_dep = dependency('libfgen', required: true) +fgen_dep = dependency('libfgen', required: false) lua_dep = dependency('', required: false)