any_compiler.sh 245 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. if [ "$NEWCC" != "" ]; then
  3. export CC="$NEWCC"
  4. fi
  5. if [ "$NEWCXX" != "" ]; then
  6. export CXX="$NEWCXX"
  7. fi
  8. source ./tools/ci/scripts/init.sh
  9. do_init
  10. run_configure $*
  11. run_make
  12. source ./tools/ci/scripts/exit.sh
  13. exit 0