You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
605 B

  1. #! /bin/sh
  2. path=`dirname $0`
  3. . "$path/SETUP.sh"
  4. # Note that we can't use ccache with icc as the generated .deps file will
  5. # then contain wrong information
  6. CC=icc
  7. CXX=icpc
  8. CXXLD="$CXX -static-libcxa"
  9. export CC CXX CXXLD
  10. c_warnings=""
  11. cxx_warnings=""
  12. extra_flags="$fast_cflags -unroll2 -ip -mp -restrict"
  13. # Use -no-ipo if you get this error
  14. # IPO link: can not find "-lstdc++_shared"
  15. # icpc: error: problem during multi-file optimization compilation (code 1)
  16. extra_flags="$extra_flags -no-ipo"
  17. base_cxxflags="-fno-exceptions -fno-rtti"
  18. extra_configs="$pentium_configs $static_link"
  19. . "$path/FINISH.sh"