]> git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/tests/dist/consumer/recipe/test_dist.cmake
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / seastar / tests / dist / consumer / recipe / test_dist.cmake
1 cmake_host_system_information (
2 RESULT build_concurrency_factor
3 QUERY NUMBER_OF_LOGICAL_CORES)
4
5 set (make_command make -j ${build_concurrency_factor})
6
7 cooking_ingredient (Boost
8 EXTERNAL_PROJECT_ARGS
9 # The 1.67.0 release has a bug in Boost Lockfree around a missing header.
10 URL https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz
11 URL_MD5 319c6ffbbeccc366f14bb68767a6db79
12 PATCH_COMMAND
13 ./bootstrap.sh
14 --prefix=<INSTALL_DIR>
15 --with-libraries=atomic,chrono,date_time,filesystem,program_options,system,test,thread
16 CONFIGURE_COMMAND <DISABLE>
17 BUILD_COMMAND <DISABLE>
18 INSTALL_COMMAND
19 ${CMAKE_COMMAND} -E chdir <SOURCE_DIR>
20 ./b2
21 -j ${build_concurrency_factor}
22 --layout=system
23 --build-dir=<BINARY_DIR>
24 install
25 variant=debug
26 link=shared
27 threading=multi
28 hardcode-dll-paths=true
29 dll-path=<INSTALL_DIR>/lib)
30
31 cooking_ingredient (Seastar
32 REQUIRES Boost
33 COOKING_RECIPE dev
34 COOKING_CMAKE_ARGS
35 # Not `lib64`.
36 -DCMAKE_INSTALL_LIBDIR=lib
37 -DSeastar_APPS=OFF
38 -DSeastar_DOCS=OFF
39 -DSeastar_DEMOS=OFF
40 -DSeastar_DPDK=ON
41 -DSeastar_TESTING=OFF
42 EXTERNAL_PROJECT_ARGS
43 SOURCE_DIR $ENV{SEASTAR_SOURCE_DIR})