diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2015-08-02 22:11:38 +0200 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-08-03 11:38:44 -0600 |
commit | fbf9bff63a27cdb00d8e73e39e0f9495a2e8238d (patch) | |
tree | e7973a7ada9e258f4820988d897d2950fa01e4a4 /numpy/distutils/intelccompiler.py | |
parent | 2ce50d23bce43610a04eaee752fb116d46076187 (diff) | |
download | numpy-fbf9bff63a27cdb00d8e73e39e0f9495a2e8238d.tar.gz |
BLD: Intel compilers: xiar/xilib for Linux and Windows to support IPO.
Diffstat (limited to 'numpy/distutils/intelccompiler.py')
-rw-r--r-- | numpy/distutils/intelccompiler.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/distutils/intelccompiler.py b/numpy/distutils/intelccompiler.py index 25ee0e998..3f062f33b 100644 --- a/numpy/distutils/intelccompiler.py +++ b/numpy/distutils/intelccompiler.py @@ -19,6 +19,7 @@ class IntelCCompiler(UnixCCompiler): self.set_executables(compiler=compiler, compiler_so=compiler, compiler_cxx=compiler, + archiver='xiar' + ' cru', linker_exe=compiler, linker_so=compiler + ' -shared') @@ -48,6 +49,7 @@ class IntelEM64TCCompiler(UnixCCompiler): self.set_executables(compiler=compiler, compiler_so=compiler, compiler_cxx=compiler, + archiver='xiar' + ' cru', linker_exe=compiler, linker_so=compiler + ' -shared') @@ -66,6 +68,7 @@ class IntelCCompilerW(MSVCCompiler): def initialize(self, plat_name=None): MSVCCompiler.initialize(self, plat_name) self.cc = self.find_exe("icl.exe") + self.lib = self.find_exe("xilib") self.linker = self.find_exe("xilink") self.compile_options = ['/nologo', '/O3', '/MD', '/W3', '/Qstd=c99'] self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', |