diff options
| author | Ernest Zaslavsky <kreuzerkrieg@gmail.com> | 2019-05-01 22:59:11 +0300 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-05-01 12:59:11 -0700 |
| commit | 3468013fcd4014ab7a40b2b5355e86cbe4cbcf07 (patch) | |
| tree | 63a6943e405fb3613362f9770de058338486c62d /ports/spdk/usage | |
| parent | 1e0b106d15c9b5d3f3d5914fa7c01d43260c7700 (diff) | |
| download | vcpkg-3468013fcd4014ab7a40b2b5355e86cbe4cbcf07.tar.gz vcpkg-3468013fcd4014ab7a40b2b5355e86cbe4cbcf07.zip | |
SPDK - Storage performance development kit (#5877)
Diffstat (limited to 'ports/spdk/usage')
| -rw-r--r-- | ports/spdk/usage | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/ports/spdk/usage b/ports/spdk/usage new file mode 100644 index 000000000..6e791c3fe --- /dev/null +++ b/ports/spdk/usage @@ -0,0 +1,44 @@ +The package spdk is compatible with built-in CMake targets: + +Add following to build examples/nvme/perf/perf.c + + FIND_PACKAGE(spdk CONFIG REQUIRED) + FIND_PACKAGE(spdk-dpdk CONFIG REQUIRED) + + ADD_EXECUTABLE(SPDKTest perf.c) + + TARGET_LINK_DIRECTORIES(SPDKTest PRIVATE ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/spdk) + TARGET_LINK_LIBRARIES(SPDKTest PRIVATE + SPDK::spdk_app_rpc + SPDK::spdk_bdev + SPDK::spdk_bdev_null + SPDK::spdk_bdev_rpc + SPDK::spdk_conf + SPDK::spdk_copy + SPDK::spdk_thread + SPDK::spdk_event + SPDK::spdk_event_bdev + SPDK::spdk_event_copy + SPDK::spdk_event_net + SPDK::spdk_net + SPDK::spdk_nvmf + SPDK::spdk_nvme + SPDK::spdk_sock_posix + SPDK::spdk_sock + SPDK::spdk_rpc + SPDK::spdk_jsonrpc + SPDK::spdk_json + SPDK::spdk_trace + SPDK::spdk_util + SPDK::spdk_log + SPDK::spdk_env_dpdk + SPDK::dpdk + numa + rdmacm + uuid + ibverbs + pthread + dl + ) + +Configuration script can be found at: ${CURRENT_PACKAGES_DIR}/share/${PORT}/scripts |
