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