diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 254d6a8d4dcb..9f5f4e6c0788 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -134,9 +134,9 @@ 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 @@ def has_cblas(self, info): # cblas or blas res = False c = distutils.ccompiler.new_compiler() + c.customize('') tmpdir = tempfile.mkdtemp() s = """#include 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[])