-
-
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 KB
/
do-build
File metadata and controls
executable file
·24 lines (23 loc) · 1 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-libc++ $* &&
# Debug builds
ninja -C ./build.tmp/clang-debug-libc++ all felspar-check &&
ninja -C ./build.tmp/gcc-debug all felspar-check &&
# Release builds
ninja -C ./build.tmp/clang-release-libc++ all felspar-check &&
ninja -C ./build.tmp/gcc-release all felspar-check &&
# libstdc++
ninja -C ./build.tmp/clang-debug all felspar-check &&
ninja -C ./build.tmp/clang-release all felspar-check &&
# stdlib=libc++ asan
ninja -C ./build.tmp/clang-debug-asan all felspar-check &&
ninja -C ./build.tmp/clang-release-asan all felspar-check &&
# stdlib=libc++ asan force PMR
ninja -C ./build.tmp/clang-debug-pmr-asan all felspar-check &&
ninja -C ./build.tmp/clang-release-pmr-asan all felspar-check &&
true
) && (
find ./include/ ./test/ -name \*.\?pp -print | xargs clang-format -i
)