build-all 421 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. set -eux
  3. # Build all archs (that we care the most about).
  4. # Will take forever from a clean repo, this is most useful
  5. # after pulling the repository to do an incremental build
  6. # then quickly test out all the setups.
  7. gem5=-g
  8. while getopts G OPT; do
  9. case "$OPT" in
  10. G)
  11. gem5=
  12. ;;
  13. esac
  14. done
  15. shift "$(($OPTIND - 1))"
  16. for arch in x86_64 arm aarch64; do
  17. ./build -a "$arch" -klq $gem5
  18. done