ctdb-scripts: Support storing statd-callout state in cluster filesystem
[samba4-gss.git] / third_party / waf / waflib / Tools / icpc.py
blob8a6cc6c40f9fb0872393f8c8c81b95d42fba18ab
1 #!/usr/bin/env python
2 # encoding: utf-8
3 # Thomas Nagy 2009-2018 (ita)
5 """
6 Detects the Intel C++ compiler
7 """
9 import sys
10 from waflib.Tools import ccroot, ar, gxx
11 from waflib.Configure import conf
13 @conf
14 def find_icpc(conf):
15 """
16 Finds the program icpc, and execute it to ensure it really is icpc
17 """
18 cxx = conf.find_program('icpc', var='CXX')
19 conf.get_cc_version(cxx, icc=True)
20 conf.env.CXX_NAME = 'icc'
22 def configure(conf):
23 conf.find_icpc()
24 conf.find_ar()
25 conf.gxx_common_flags()
26 conf.gxx_modifier_platform()
27 conf.cxx_load_tools()
28 conf.cxx_add_flags()
29 conf.link_add_flags()