3 # Thomas Nagy 2009-2018 (ita)
6 Detects the Intel C++ compiler
10 from waflib
.Tools
import ccroot
, ar
, gxx
11 from waflib
.Configure
import conf
16 Finds the program icpc, and execute it to ensure it really is icpc
18 cxx
= conf
.find_program('icpc', var
='CXX')
19 conf
.get_cc_version(cxx
, icc
=True)
20 conf
.env
.CXX_NAME
= 'icc'
25 conf
.gxx_common_flags()
26 conf
.gxx_modifier_platform()