pgicxx.py 395 B

1234567891011121314151617181920
  1. #!/usr/bin/env python
  2. # encoding: utf-8
  3. # Antoine Dechaume 2011
  4. """
  5. Detect the PGI C++ compiler
  6. """
  7. from waflib.Tools.compiler_cxx import cxx_compiler
  8. cxx_compiler['linux'].append('pgicxx')
  9. from waflib.extras import pgicc
  10. def configure(conf):
  11. conf.find_pgi_compiler('CXX', 'pgCC')
  12. conf.find_ar()
  13. conf.gxx_common_flags()
  14. conf.cxx_load_tools()
  15. conf.cxx_add_flags()
  16. conf.link_add_flags()