Skip to content

Commit

Permalink
rhel: Update '--with-dpdk' argument for DPDK 20.11.
Browse files Browse the repository at this point in the history
With DPDK 20.11, meson and pkgconfig are used instead of the old
Makefile-based system and so --with-dpdk option is changed to only
accept shared or static instead of the directory.

This commit uses --with-dpdk=shared since Fedora and RHEL ship shared
libraries of DPDK.

Fixes: 252e1e5 ("dpdk: Update to use DPDK v20.11.")
Signed-off-by: Timothy Redaelli <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
drizzt authored and igsilya committed Feb 2, 2021
1 parent 59611d6 commit d8df849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rhel/openvswitch-fedora.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ This package provides IPsec tunneling support for OVS tunnels.
--disable-libcapng \
%endif
%if %{with dpdk}
--with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
--with-dpdk=shared \
%endif
--enable-ssl \
--disable-static \
Expand Down

0 comments on commit d8df849

Please sign in to comment.