-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdo-build
More file actions
executable file
·21 lines (20 loc) · 843 Bytes
/
do-build
File metadata and controls
executable file
·21 lines (20 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 &&
true
) && (
find ./include/ ./test/ -name \*.\?pp -print | xargs clang-format -i
)