numam-dpdk/drivers
Nelio Laranjeiro 96d7c62a70 net/mlx5: support meson build
Compile Mellanox driver when its external dependencies are met.  A
glue version of the driver can still be requested by using the
-Denable_driver_mlx_glue=true

Meson will try to find the required external libraries.  When they are
not installed system wide, they can be provided though CFLAGS, LDFLAGS
and LD_LIBRARY_PATH environment variables, example (considering
RDMA-Core is installed in /tmp/rdma-core):

 # CLFAGS=-I/tmp/rdma-core/build/include \
   LDFLAGS=-L/tmp/rdma-core/build/lib \
   LD_LIBRARY_PATH=/tmp/rdma-core/build/lib \
   meson output
 # LD_LIBRARY_PATH=/tmp/rdma-core/build/lib \
   ninja -C output install

Note: LD_LIBRARY_PATH before ninja is necessary when the meson
configuration has changed (e.g. meson configure has been called), in
such situation the LD_LIBRARY_PATH is necessary to invoke the
autoconfiguration script.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2018-09-28 01:41:01 +02:00
..
baseband baseband/null: add in meson build 2018-09-18 22:53:35 +02:00
bus drivers/bus: fill driver reference after NXP probing 2018-09-27 14:43:47 +02:00
common compress/qat: use compression specific driver name 2018-08-30 05:10:50 +02:00
compress compress/qat: use compression specific driver name 2018-08-30 05:10:50 +02:00
crypto drivers/crypto: remove double assignment of driver 2018-09-28 18:02:58 +02:00
event event/opdl: add in meson build 2018-09-18 22:53:35 +02:00
mempool bus/fslmc: fix undefined reference of memsegs 2018-08-27 14:14:27 +02:00
net net/mlx5: support meson build 2018-09-28 01:41:01 +02:00
raw raw/ifpga: use -Wno-error=format-security for meson 2018-09-17 12:17:24 +02:00
Makefile crypto/qat: move common qat files to common dir 2018-07-11 00:55:30 +02:00
meson.build baseband/null: add in meson build 2018-09-18 22:53:35 +02:00