summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/compaq.py
diff options
context:
space:
mode:
authorDmitry Zagorny <dmitry.zagorny@intel.com>2015-09-14 13:03:38 -0500
committerDmitry Zagorny <dmitry.zagorny@intel.com>2015-09-15 14:34:43 +0300
commit72753bbdf8736a13f1cb60c25cf8683608f46e29 (patch)
tree5a0f17e10c88a02e4b9d6438ad88a447172f5174 /numpy/distutils/fcompiler/compaq.py
parent44c9b2aba51f73e50c17b7f990a054d0d4804269 (diff)
downloadnumpy-72753bbdf8736a13f1cb60c25cf8683608f46e29.tar.gz
MSVCCompiler overwrite 'lib' and 'include' environment variables. This
behavior affect at least python 3.5 and SciPy build and build failed. During initialization <python>.distutils.MSVCCompiler replace Intel environment('include' and 'lib' paths). This fix decorate 'initialize' function in MSVCCompiler and extend 'lib' and 'include' environment variables. Changed compilation keys: generate optimized code specialized for Intel processors with SSE4.2 support.
Diffstat (limited to 'numpy/distutils/fcompiler/compaq.py')
-rw-r--r--numpy/distutils/fcompiler/compaq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/compaq.py b/numpy/distutils/fcompiler/compaq.py
index 5162b168c..2dd6c01e6 100644
--- a/numpy/distutils/fcompiler/compaq.py
+++ b/numpy/distutils/fcompiler/compaq.py
@@ -74,7 +74,7 @@ class CompaqVisualFCompiler(FCompiler):
fc_exe = 'DF'
if sys.platform=='win32':
- from distutils.msvccompiler import MSVCCompiler
+ from numpy.distutils.msvccompiler import MSVCCompiler
try:
m = MSVCCompiler()