(self, verbose=0, dry_run=0, force=0)
| 14 | cc_args = 'fPIC' |
| 15 | |
| 16 | def __init__(self, verbose=0, dry_run=0, force=0): |
| 17 | UnixCCompiler.__init__(self, verbose, dry_run, force) |
| 18 | |
| 19 | v = self.get_version() |
| 20 | mpopt = 'openmp' if v and v < '15' else 'qopenmp' |
| 21 | self.cc_exe = ('icc -fPIC -fp-model strict -O3 ' |
| 22 | '-fomit-frame-pointer -{}').format(mpopt) |
| 23 | compiler = self.cc_exe |
| 24 | |
| 25 | if platform.system() == 'Darwin': |
| 26 | shared_flag = '-Wl,-undefined,dynamic_lookup' |
| 27 | else: |
| 28 | shared_flag = '-shared' |
| 29 | self.set_executables(compiler=compiler, |
| 30 | compiler_so=compiler, |
| 31 | compiler_cxx=compiler, |
| 32 | archiver='xiar' + ' cru', |
| 33 | linker_exe=compiler + ' -shared-intel', |
| 34 | linker_so=compiler + ' ' + shared_flag + |
| 35 | ' -shared-intel') |
| 36 | |
| 37 | |
| 38 | class IntelItaniumCCompiler(IntelCCompiler): |
no test coverage detected