diff options
Diffstat (limited to 'numpy/distutils/system_info.py')
-rw-r--r-- | numpy/distutils/system_info.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 254d6a8d4..9f5f4e6c0 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -134,9 +134,9 @@ if sys.version_info[0] < 3: else: from configparser import NoOptionError from configparser import RawConfigParser as ConfigParser -# It seems that some people are importing ConfigParser from here so is -# good to keep its class name. Use of RawConfigParser is needed in -# order to be able to load path names with percent in them, like +# It seems that some people are importing ConfigParser from here so is +# good to keep its class name. Use of RawConfigParser is needed in +# order to be able to load path names with percent in them, like # `feature%2Fcool` which is common on git flow branch names. from distutils.errors import DistutilsError @@ -1710,6 +1710,7 @@ class blas_info(system_info): # cblas or blas res = False c = distutils.ccompiler.new_compiler() + c.customize('') tmpdir = tempfile.mkdtemp() s = """#include <cblas.h> int main(int argc, const char *argv[]) @@ -1790,6 +1791,7 @@ class openblas_lapack_info(openblas_info): def check_embedded_lapack(self, info): res = False c = distutils.ccompiler.new_compiler() + c.customize('') tmpdir = tempfile.mkdtemp() s = """void zungqr(); int main(int argc, const char *argv[]) |