MLX DPDK glue: exclude dependency on OFED libraries 58/12658/3
authorIgor Mikhailov (imichail) <imichail@cisco.com>
Sat, 19 May 2018 03:08:26 +0000 (20:08 -0700)
committerDamjan Marion <dmarion.lists@gmail.com>
Sat, 19 May 2018 11:25:09 +0000 (11:25 +0000)
commit3b854a5cb876b5af4e69c56028e2c2824100f4b2
tree66db7df0e6fc24679d9802263c737817fa021667
parent2f63bc9482dd1443710ae0321dea69a3f8f21d5b
MLX DPDK glue: exclude dependency on OFED libraries

MLX DPDK mlx5_glue.so, compiled under RTE_LIBRTE_MLX5_DLOPEN_DEPS,
provides a run-time check for OFED libraries.
To do so, it links with -libverbs -lmlx5 so that the binding could
occur or fail at runtime (see DPDK 59b91be and VPP 59b91be).
However RPM install fails on systems without OFED installed since
RPM spec has an entry "Requires: libmlx5".
To overcome this, exclude such requirement from the spec.

Same applies to mlx4_glue.so, compiled under RTE_LIBRTE_MLX4_DLOPEN_DEPS

Change-Id: I0ff6efc49581104743cc7e5b1f7cdbc1665ce9ba
Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
extras/rpm/vpp.spec