mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
* add dpdk::dpdk if dpdk is built or found, as seastar checks for it before adding its component libraries. if user installs libdpdk and builds WITH_SEASTAR=ON or WITH_DPDK=ON, cmake fails to configure the building system without this fix. * add dpdk::cflags target for populating the -march=<arch> compile option. * also use pkg-config for finding dpdk. * link common_async_dpdk against dpdk::dpdk instead please note, the reason why we can remove the "-march=native" compile option from Finddpdk.cmake, is that the distro shipped header files are "generic" in the sense of "-march=<ARCH>", they do not enable the arch specific intrinsic by default, hence the source files including them do not need specific compiler options. Signed-off-by: Kefu Chai <kchai@redhat.com> |
||
---|---|---|
.. | ||
modules |