-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build.orig
186 lines (176 loc) · 5.55 KB
/
meson.build.orig
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
project('batsched', 'cpp',
version: '1.4.0',
license: 'free',
default_options: ['cpp_std=c++17'],
meson_version: '>=0.40.0'
)
# Dependencies
add_project_link_arguments(['-lstdc++fs'], language : 'cpp')
boost_dep = dependency('boost',
modules : ['locale', 'regex', 'system']
)
rapidjson_dep = dependency('RapidJSON')
libzmq_dep = dependency('libzmq')
loguru_dep = dependency('loguru')
intervalset_dep = dependency('intervalset')
gmpxx_dep = dependency('gmpxx')
batsched_deps = [
boost_dep,
rapidjson_dep,
libzmq_dep,
loguru_dep,
intervalset_dep,
gmpxx_dep
]
# Source files
# 'src/algo/conservative_bf.cpp',
# 'src/algo/conservative_bf.hpp',
# 'src/algo/crasher.cpp',
# 'src/algo/crasher.hpp',
# 'src/algo/easy_bf_fast.cpp',
# 'src/algo/easy_bf_fast.hpp',
# 'src/algo/easy_bf_plot_liquid_load_horizon.cpp',
# 'src/algo/easy_bf_plot_liquid_load_horizon.hpp',
# 'src/algo/energy_bf.cpp',
# 'src/algo/energy_bf_dicho.cpp',
# 'src/algo/energy_bf_dicho.hpp',
# 'src/algo/energy_bf.hpp',
# 'src/algo/energy_bf_idle_sleeper.cpp',
# 'src/algo/energy_bf_idle_sleeper.hpp',
# 'src/algo/energy_bf_machine_subpart_sleeper.cpp',
# 'src/algo/energy_bf_machine_subpart_sleeper.hpp',
# 'src/algo/energy_bf_monitoring_inertial_shutdown.cpp',
# 'src/algo/energy_bf_monitoring_inertial_shutdown.hpp',
# 'src/algo/energy_bf_monitoring_period.cpp',
# 'src/algo/energy_bf_monitoring_period.hpp',
# 'src/algo/energy_watcher.cpp',
# 'src/algo/energy_watcher.hpp',
# 'src/algo/fcfs_fast.cpp',
# 'src/algo/fcfs_fast.hpp',
# 'src/algo/filler.hpp',
# 'src/algo/filler.cpp',
# 'src/algo/killer2.cpp',
# 'src/algo/killer2.hpp',
# 'src/algo/killer.cpp',
# 'src/algo/killer.hpp',
# 'src/algo/random.cpp',
# 'src/algo/random.hpp',
# 'src/algo/rejecter.cpp',
# 'src/algo/rejecter.hpp',
# 'src/algo/sequencer.cpp',
# 'src/algo/sequencer.hpp',
# 'src/algo/sleeper.cpp',
# 'src/algo/sleeper.hpp',
# 'src/algo/submitter.cpp',
# 'src/algo/submitter.hpp',
# 'src/algo/wt_estimator.cpp',
# 'src/algo/wt_estimator.hpp',
# 'src/algo/easy_bf_fast2.cpp',
# 'src/algo/easy_bf_fast2.hpp',
# 'src/algo/easy_bf_fast2_holdback.cpp',
# 'src/algo/easy_bf_fast2_holdback.hpp',
# 'src/algo/fcfs_fast2.cpp',
# 'src/algo/fcfs_fast2.hpp',
# 'src/algo/conservative_bf.cpp',
# 'src/algo/conservative_bf.hpp',
src = [
'src/algo/easy_bf.cpp',
'src/algo/easy_bf.hpp',
'src/algo/easy_bf_fast2.cpp',
'src/algo/easy_bf_fast2.hpp',
'src/algo/easy_bf_fast2_holdback.cpp',
'src/algo/easy_bf_fast2_holdback.hpp',
'src/algo/fcfs_fast2.cpp',
'src/algo/fcfs_fast2.hpp',
'src/algo/conservative_bf.cpp',
'src/algo/conservative_bf.hpp',
<<<<<<< HEAD
'src/algo/crasher.cpp',
'src/algo/crasher.hpp',
'src/algo/easy_bf.cpp',
'src/algo/easy_bf_fast.cpp',
'src/algo/easy_bf_fast.hpp',
'src/algo/easy_bf.hpp',
'src/algo/easy_bf_plot_liquid_load_horizon.cpp',
'src/algo/easy_bf_plot_liquid_load_horizon.hpp',
'src/algo/energy_bf.cpp',
'src/algo/energy_bf_dicho.cpp',
'src/algo/energy_bf_dicho.hpp',
'src/algo/energy_bf.hpp',
'src/algo/energy_bf_idle_sleeper.cpp',
'src/algo/energy_bf_idle_sleeper.hpp',
'src/algo/energy_bf_machine_subpart_sleeper.cpp',
'src/algo/energy_bf_machine_subpart_sleeper.hpp',
'src/algo/energy_bf_monitoring_inertial_shutdown.cpp',
'src/algo/energy_bf_monitoring_inertial_shutdown.hpp',
'src/algo/energy_bf_monitoring_period.cpp',
'src/algo/energy_bf_monitoring_period.hpp',
'src/algo/energy_watcher.cpp',
'src/algo/energy_watcher.hpp',
'src/algo/fcfs_fast.cpp',
'src/algo/fcfs_fast.hpp',
'src/algo/fcfs.cpp',
'src/algo/fcfs.hpp',
'src/algo/filler.cpp',
'src/algo/filler.hpp',
'src/algo/killer2.cpp',
'src/algo/killer2.hpp',
'src/algo/killer.cpp',
'src/algo/killer.hpp',
'src/algo/random.cpp',
'src/algo/random.hpp',
'src/algo/rejecter.cpp',
'src/algo/rejecter.hpp',
'src/algo/sequencer.cpp',
'src/algo/sequencer.hpp',
'src/algo/sleeper.cpp',
'src/algo/sleeper.hpp',
'src/algo/submitter.cpp',
'src/algo/submitter.hpp',
'src/algo/wt_estimator.cpp',
'src/algo/wt_estimator.hpp',
=======
'src/batsched_tools.cpp',
'src/batsched_tools.hpp',
'src/data_storage.cpp',
'src/data_storage.hpp',
>>>>>>> testing_conservative_bf
'src/decision.cpp',
'src/decision.hpp',
'src/exact_numbers.hpp',
'src/external/taywee_args.hpp',
'src/isalgorithm.cpp',
'src/isalgorithm.hpp',
'src/json_workload.cpp',
'src/json_workload.hpp',
'src/locality.cpp',
'src/locality.hpp',
'src/main.cpp',
'src/machine.cpp',
'src/machine.hpp',
'src/network.cpp',
'src/network.hpp',
'src/pempek_assert.cpp',
'src/pempek_assert.hpp',
'src/protocol.cpp',
'src/protocol.hpp',
'src/queue.cpp',
'src/queue.hpp',
'src/queueing_theory_waiting_time_estimator.cpp',
'src/queueing_theory_waiting_time_estimator.hpp',
'src/schedule.cpp',
'src/schedule.hpp',
'src/external/batsched_workload.hpp',
'src/external/batsched_workload.cpp',
'src/external/batsched_profile.hpp',
'src/external/batsched_profile.cpp',
'src/external/batsched_job.hpp',
'src/external/batsched_job.cpp'
]
include_dir = include_directories('src')
batsched = executable('batsched', src,
include_directories: include_dir,
dependencies: batsched_deps,
cpp_args: '-DBATSCHED_VERSION=@0@'.format(meson.project_version()),
install: true
)