diff options
| author | Haoyu Sun <raptorsun@gmail.com> | 2019-03-15 00:45:39 +0100 |
|---|---|---|
| committer | Haoyu Sun <raptorsun@gmail.com> | 2019-03-15 00:45:39 +0100 |
| commit | 5c00a2b5ce217c969f74085ed0034849e1ac7dc5 (patch) | |
| tree | ddf59cc7dabc6c3223da8bc3d4494991e802983e /numpy/distutils | |
| parent | 2037aba397174723ba5bbc243d354095c6a855b1 (diff) | |
| download | numpy-5c00a2b5ce217c969f74085ed0034849e1ac7dc5.tar.gz | |
if neither libcblas or libblas is linkable, it consider libcblas is inexistent, avoiding unhandled exception.
Diffstat (limited to 'numpy/distutils')
| -rw-r--r-- | numpy/distutils/system_info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 242494331..e723b85b8 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -1743,6 +1743,8 @@ class blas_info(system_info): res = "blas" except distutils.ccompiler.CompileError: res = None + except distutils.ccompiler.LinkError: + res = None finally: shutil.rmtree(tmpdir) return res |
