Spdk/lib/env_dpdk
Michal Berger 3a060b6cd5 lib/env_dpdk: Make sure linker finds $DPDK_LIB_DIR
In case SPDK is build with shared libraries and there's no
LD_LIBRARY_PATH around, linker will complain about missing .sos
similar to:

/usr/bin/ld.bfd: warning: librte_meter.so.23, needed by
/root/spdk/dpdk/build/lib/librte_ethdev.so, not found (try using -rpath
or -rpath-link)

We can't see that under CI since autotest_common.sh always makes sure
the LD_LIBRARY_PATH is properly set.

Add the -rpath to make the build less spammy.

Change-Id: I1d9d1775b2aa24e65cc4b776c2549457b0d7aac3
Signed-off-by: Michal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17492
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2023-05-09 17:58:11 +08:00
..
22.07 env_dpdk: DPDK 22.07 PCI now includes in-tree headers 2022-12-16 09:27:11 +00:00
22.11 env_dpdk: align copyright notice with DPDK 2022-12-15 08:41:05 +00:00
env_internal.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
env.c env_dpdk: Add function to iterate memory chunks in a pool 2023-01-20 17:56:34 +00:00
env.mk lib/env_dpdk: Make sure linker finds $DPDK_LIB_DIR 2023-05-09 17:58:11 +08:00
init.c app: use --lcores to map ids greater than 128 2023-05-09 17:58:11 +08:00
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
memory.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_dpdk_2207.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_dpdk_2211.c env_dpdk: allow 2211.c file to build against older DPDK 2022-11-15 08:31:28 +00:00
pci_dpdk.c env_dpdk: add support for DPDK main branch 2023-05-09 17:58:11 +08:00
pci_dpdk.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_event.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_idxd.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_ioat.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_virtio.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_vmd.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci.c env_dpdk: don't call remove_rte_dev from secondary proc 2023-01-27 08:46:05 +00:00
sigbus_handler.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_env_dpdk.map env: expose function to get main core 2023-01-31 10:31:04 +00:00
threads.c env: expose function to get main core 2023-01-31 10:31:04 +00:00