clang3.sh 399 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env bash
  2. export CC=clang
  3. export CXX=clang++
  4. if [ "$NEWCC" != "" ]; then
  5. export CC="$NEWCC"
  6. fi
  7. if [ "$NEWCXX" != "" ]; then
  8. export CXX="$NEWCXX"
  9. fi
  10. export LOGFILE=clang3.log
  11. source ./tools/ci/scripts/init.sh
  12. export CXXFLAGS="$CXXFLAGS -fno-omit-frame-pointer -ggdb3 $POST_CXXFLAGS"
  13. do_init
  14. run_configure --enable-werror $*
  15. run_make
  16. source ./tools/ci/scripts/exit.sh
  17. exit 0