From 7b028ee9eb90a1dfca9b91691dcc996647c4418e Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 5 Dec 2019 14:51:09 +0000 Subject: try installing just openblas --- .travis.yml | 2 +- setup.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 91a1417..184468a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ matrix: #OPENBLAS=/c/cibw/lapacke/OpenBLAS.0.2.14.1/lib/native/" #- LAPACK="/c/cibw/lapacke/lapacke.0.1.0/lib" #- BLAS="/c/cibw/lapacke/OpenBLAS.0.2.14.1/lib" - - CIBW_BEFORE_BUILD="/c/cibw/nuget.exe install lapacke -OutputDirectory /cibw/lapacke -Verbosity detailed && echo && find /c/cibw/lapacke -type f -maxdepth 8 && echo && pip install numpy Cython" + - CIBW_BEFORE_BUILD="/c/cibw/nuget.exe install OpenBLAS -OutputDirectory /cibw/openblas -Verbosity detailed && echo && find /c/cibw/openblas -type f -maxdepth 8 && echo && pip install numpy Cython" env: global: diff --git a/setup.py b/setup.py index 9a02566..cd81196 100644 --- a/setup.py +++ b/setup.py @@ -250,12 +250,14 @@ def cibuildwheel_windows(): bits = 64 if sys.maxsize > 2 ** 32 else 32 bitprefix = "x64" if bits == 64 else "win32" - basepath = "/c/cibw/lapacke/OpenBLAS.0.2.14.1/lib/native" + basepath = "/c/cibw/openblas/OpenBLAS.0.2.14.1/lib/native" dllpath = basepath + "/lib/" + bitprefix + "/libopenblas.dll.a" if os.path.exists(dllpath): shutil.move(dllpath, basepath + "/lib/") - os.environ["OPENBLAS"] = "/c/cibw/lapacke/OpenBLAS.0.2.14.1/lib/native/lib" + os.environ[ + "OPENBLAS" + ] = "/c/cibw/openblas/OpenBLAS.0.2.14.1/lib/native/lib" for path, dirs, files in os.walk("/c/cibw/lapacke"): print(path) -- cgit v1.2.3