-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
74 lines (56 loc) · 2.42 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
cmake_minimum_required(VERSION 3.18)
project(odyssey)
set(odyssey_VERSION_MAJOR 1)
include_directories(od-lib/include/libhrd include/kite od-lib/include/mica od-lib/include/general_util zookeeper/include/zookeeper
include/kite_inline_util /usr/include/)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -std=gnu1x -Wno-address-of-packed-member \
-Wno-format-truncation -g -march=native")
set(COMMON_FILES
od-lib/src/mica/kvs.c
#libhrd
od-lib/include/libhrd/hrd.h
od-lib/src/libhrd/hrd_util.c
od-lib/src/libhrd/hrd_conn.c
#mica
od-lib/src/mica/city.c
od-lib/include/mica/kvs.h
od-lib/include/mica/city.h
/usr/include/infiniband/verbs.h
od-lib/src/client/client.c
od-lib/include/general_util/generic_macros.h
od-lib/include/general_util/client_if_util.h
od-lib/include/general_util/interface.h
od-lib/include/general_util/latency_util.h
od-lib/include/general_util/stats.h
od-lib/include/general_util/top.h
od-lib/include/general_util/init_func.h
od-lib/include/general_util/generic_inline_util.h
od-lib/include/general_util/init_connect.h
od-lib/include/general_util/generic_opcodes.h
od-lib/include/general_util/trace_util.h
od-lib/include/general_util/rdma_gen_util.h
od-lib/include/general_util/debug_util.h
od-lib/include/general_util/inline_util.h
od-lib/include/general_util/sizes.h
od-lib/include/general_util/config_util.h)
set(KITE_SOURCE_FILES
src/kite/kt_util.c
src/kite/kt_stats.c
include/kite_inline_util/kt_inline_util.h
include/kite/kt_util.h
include/kite/kt_config.h
include/kite/kt_opcodes.h
include/kite_inline_util/kt_generic_util.h
include/kite_inline_util/kt_kvs_util.h
include/kite_inline_util/kt_debug_util.h
include/kite_inline_util/kt_config_util.h
include/kite_inline_util/kt_paxos_util.h
include/kite_inline_util/kt_reserve_stations_util.h
include/kite_inline_util/kt_communication_utility.h
include/kite_inline_util/kt_paxos_generic_util.h
include/kite/kt_messages.h
include/kite/kt_buffer_sizes.h
)
add_executable(kite ${KITE_SOURCE_FILES} ${COMMON_FILES})
set_target_properties(kite PROPERTIES COMPILE_FLAGS -DKITE)
target_link_libraries(kite pthread ibverbs rt numa rdmacm)