diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-06 22:45:05 -0500 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-06 22:45:05 -0500 |
| commit | f57e6f8a95597b5ef00b1d09522811cf19ca50e7 (patch) | |
| tree | 9a69f23e741fef914059e261af17085107a9aacd /setup.py | |
| parent | Remove SciPy dependency (diff) | |
| download | pygensvm-f57e6f8a95597b5ef00b1d09522811cf19ca50e7.tar.gz pygensvm-f57e6f8a95597b5ef00b1d09522811cf19ca50e7.zip | |
Throw a warning on detecting lapack dependency
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -101,7 +101,8 @@ def get_lapack_info(): lapack_info = get_info("lapack_opt", 0) if (not lapack_info) or atlas_not_found(lapack_info): - lapack_libs = ["lapacke"] + print("Warning: Found no lapack info, using 'lapack' guess") + lapack_libs = ["lapack"] lapack_info.pop("libraries", None) else: lapack_libs = lapack_info.pop("libraries", []) @@ -120,7 +121,7 @@ def configuration(): lapack_libs, lapack_info = get_lapack_info() if os.name == "posix": - lapack_libs.append("m") # unsure if necessary + lapack_libs.append("m") # unsure if necessary # Wrapper code in Cython uses the .pyx extension if we want to USE_CYTHON, # otherwise it ends in .c. |
