better build setups for testing and release

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-03 00:00:01 +00:00
parent 9693c23fe6
commit 196dd616ff
5 changed files with 43 additions and 13 deletions

15
build-bench-boot Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -eu
test_size=1
while [ $# -gt 0 ]; do
case "$1" in
--size)
test_size="$2"
shift 2
;;
esac
done
./build --all-archs qemu-gem5-buildroot
if [ "$test_size" -ge 3 ]; then
./build --arch aarch64 all-linux
fi