jack2 codebase
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.

23 lines
444B

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