Skip to content

Instantly share code, notes, and snippets.

@emaxerrno
Created April 19, 2019 19:40
Show Gist options
  • Save emaxerrno/1848706ee1607cc9ff2cb2c5688a371a to your computer and use it in GitHub Desktop.
Save emaxerrno/1848706ee1607cc9ff2cb2c5688a371a to your computer and use it in GitHub Desktop.
seastar.cmake
ExternalProject_Add(seastar
URL https://github.com/vectorizedio/seastar/archive/05efbce.tar.gz
URL_MD5 0f59761981794d549cc579b6a3278a7e
INSTALL_DIR @V_DEPS_INSTALL_DIR@
CMAKE_ARGS
-DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
-DCMAKE_PREFIX_PATH=<INSTALL_DIR>
-DSeastar_INSTALL=ON
-DSeastar_DPDK=ON
-DSeastar_APPS=ON # different from smf; we need iotune built binary
-DSeastar_DEMOS=OFF
-DSeastar_DOCS=OFF
-DSeastar_TESTING=OFF
-DSeastar_CXX_FLAGS=$<$<STREQUAL:$<UPPER_CASE:${CXX_COMPILER_ID}>,"CLANG">,"-Wno-error=inconsistent-missing-override;-Wno-error=unused-lambda-capture">
DEPENDS
fmt
boost
protobuf
dpdk
yaml-cpp
c-ares
gnutls
lz4
hwloc
numactl
xml2
xz
cryptopp
lksctp-tools
zlib)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment