-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdo-build
More file actions
executable file
·24 lines (23 loc) · 1.08 KB
/
do-build
File metadata and controls
executable file
·24 lines (23 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
time (
# User specified targets
ninja -C ./build.tmp/clang-debug $* &&
# stdlib=libc++ asan
ninja -C ./build.tmp/clang-debug-asan all check felspar-check &&
ninja -C ./build.tmp/clang-release-asan all check felspar-check &&
# Debug builds
ninja -C ./build.tmp/clang-debug all check felspar-check &&
ninja -C ./build.tmp/gcc-debug all check felspar-check &&
# Release builds
ninja -C ./build.tmp/clang-release all check felspar-check &&
ninja -C ./build.tmp/gcc-release all check felspar-check &&
# stdlib=libc++
ninja -C ./build.tmp/clang-debug-libc++ all check felspar-check &&
ninja -C ./build.tmp/clang-release-libc++ all check felspar-check &&
# stdlib=libc++ asan force PMR
ninja -C ./build.tmp/clang-debug-pmr-asan all check felspar-check &&
ninja -C ./build.tmp/clang-release-pmr-asan all check felspar-check &&
true
) && (
find ./examples/ ./include/ ./src/ ./test/ -name \*.\?pp -print | xargs clang-format -i
)