On Fri, Aug 7, 2015 at 9:36 AM, Charles R Harris <[email protected]> wrote:
> So the problem comes from the has_cblas function > > def has_cblas(self): > # primitive cblas check by looking for the header > res = False > c = distutils.ccompiler.new_compiler() > tmpdir = tempfile.mkdtemp() > s = """#include <cblas.h>""" > src = os.path.join(tmpdir, 'source.c') > try: > with open(src, 'wt') as f: > f.write(s) > try: > c.compile([src], output_dir=tmpdir, > include_dirs=self.get_include_dirs()) > res = True > except distutils.ccompiler.CompileError: > res = False > finally: > shutil.rmtree(tmpdir) > return res > > The problem is the test compile, which does not use the mingw compiler, > but falls back to the compiler found in python distutils. Not sure what the > fix is. > See #6175 <https://github.com/numpy/numpy/pull/6175> . Chuck
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
