-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (33 loc) · 1.34 KB
/
Makefile
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
.PHONY: all run
SHELL=/bin/bash
all:
@for a in $$(find build -maxdepth 3 -name 'build.ninja' -exec dirname {} \; | sort); do \
ninja -C $$a || exit 1; \
done;
@for a in $$(find build -maxdepth 3 -name 'Makefile' -exec dirname {} \; | sort); do \
$(MAKE) -C $$a || exit 1; \
done
run: all
@for a in $$(find build -maxdepth 3 -name 'CMakeCache.txt' -exec dirname {} \; | sort); do \
$$(pwd)/$$a/micro-benchmark; \
done
run-json: all
@for a in $$(find build -maxdepth 3 -name 'CMakeCache.txt' -exec dirname {} \; | sort); do \
$$(pwd)/$$a/micro-benchmark --benchmark_filter=json; \
done
run-actors: all
@for a in $$(find build -maxdepth 3 -name 'CMakeCache.txt' -exec dirname {} \; | sort); do \
$$(pwd)/$$a/micro-benchmark --benchmark_filter=actors; \
done
run-pattern-matching: all
@for a in $$(find build -maxdepth 3 -name 'CMakeCache.txt' -exec dirname {} \; | sort); do \
$$(pwd)/$$a/micro-benchmark --benchmark_filter=pattern_matching; \
done
run-serialization: all
@for a in $$(find build -maxdepth 3 -name 'CMakeCache.txt' -exec dirname {} \; | sort); do \
$$(pwd)/$$a/micro-benchmark --benchmark_filter=serialization; \
done
run-socket-communication: all
@for a in $$(find build -maxdepth 3 -name 'CMakeCache.txt' -exec dirname {} \; | sort); do \
$$(pwd)/$$a/micro-benchmark --benchmark_filter=socket_communication; \
done