-
Notifications
You must be signed in to change notification settings - Fork 4
/
SConstruct
44 lines (31 loc) · 1.03 KB
/
SConstruct
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
#Locks and lock benchmarks
AddOption('--cpp_locks',
action='store_true',
dest='cpp_locks',
default=False)
AddOption('--llvm',
action='store_true',
dest='use_llvm',
default=False)
AddOption('--use_cas_fetch_and_add',
action='store_true',
dest='use_cas_fetch_and_add',
default=False)
AddOption('--use_pinning',
action='store_true',
dest='use_pinning',
default=False)
AddOption('--use_queue_stats',
action='store_true',
dest='use_queue_stats',
default=False)
AddOption('--use_print_thread_queue_stats',
action='store_true',
dest='use_print_thread_queue_stats',
default=False)
mode = 'release'
SConscript('SConscript.py', variant_dir='bin', duplicate=0, exports='mode')
mode = 'debug'
SConscript('SConscript.py', variant_dir='bin_debug', duplicate=0, exports='mode')
mode = 'profile'
SConscript('SConscript.py', variant_dir='bin_profile', duplicate=0, exports='mode')