clang34.sh 423 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env bash
  2. export CC=clang-3.4
  3. export CXX=clang++-3.4
  4. if [ "$NEWCC" != "" ]; then
  5. export CC="$NEWCC"
  6. fi
  7. if [ "$NEWCXX" != "" ]; then
  8. export CXX="$NEWCXX"
  9. fi
  10. export LOGFILE=clang34.log
  11. source ./tools/ci/scripts/init.sh
  12. export CXXFLAGS="$CXXFLAGS -stdlib=libc++ -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