build-test-boot 603 B

123456789101112131415161718192021
  1. #!/usr/bin/env bash
  2. # We want to move this into ./build. The only reason we haven't is that
  3. # what to build depends on --size, which ./build does not support right now.
  4. # The best way to solve this is to move the dependency checking into the run
  5. # scripts, which will take a while to refactor.
  6. set -eux
  7. test_size=1
  8. while [ $# -gt 0 ]; do
  9. case "$1" in
  10. --size)
  11. test_size="$2"
  12. shift 2
  13. ;;
  14. esac
  15. done
  16. ./build --all-archs qemu-gem5-buildroot
  17. if [ "$test_size" -ge 3 ]; then
  18. ./build-gem5 --arch aarch64 --gem5-build-type debug
  19. ./build-gem5 --arch aarch64 --gem5-build-type fast
  20. fi