cmake_gcc49.sh 424 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/env bash
  2. export CC=gcc-4.9
  3. export CXX=g++-4.9
  4. if [ "$NEWCC" != "" ]; then
  5. export CC="$NEWCC"
  6. fi
  7. if [ "$NEWCXX" != "" ]; then
  8. export CXX="$NEWCXX"
  9. fi
  10. export LOGFILE=cmake_gcc49.log
  11. source ./tools/ci/scripts/init.sh
  12. export CXXFLAGS="$CXXFLAGS -fno-omit-frame-pointer -ggdb3 $POST_CXXFLAGS"
  13. cp CMakeLists.txt.legacy CMakeLists.txt
  14. do_init
  15. run_cmake
  16. run_make
  17. source ./tools/ci/scripts/exit.sh
  18. exit 0