From d8576ca2f92b73b179261cb65cd39ce3fc9bb083 Mon Sep 17 00:00:00 2001 From: mattip Date: Fri, 5 May 2023 08:25:09 +0300 Subject: BLD: update to OpenBLAS 0.3.23, fix --- tools/openblas_support.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'tools') diff --git a/tools/openblas_support.py b/tools/openblas_support.py index 6eafb8106..fd8c6a97a 100644 --- a/tools/openblas_support.py +++ b/tools/openblas_support.py @@ -13,8 +13,8 @@ from tempfile import mkstemp, gettempdir from urllib.request import urlopen, Request from urllib.error import HTTPError -OPENBLAS_V = '0.3.21' -OPENBLAS_LONG = 'v0.3.21' +OPENBLAS_V = '0.3.23' +OPENBLAS_LONG = 'v0.3.23' BASE_LOC = 'https://anaconda.org/multibuild-wheels-staging/openblas-libs' BASEURL = f'{BASE_LOC}/{OPENBLAS_LONG}/download' SUPPORTED_PLATFORMS = [ @@ -102,6 +102,9 @@ def download_openblas(target, plat, ilp64): if osname == "linux": suffix = get_linux(arch) typ = 'tar.gz' + elif osname == "musllinux": + suffix = get_musllinux(arch) + typ = 'tar.gz' elif plat == 'macosx-x86_64': suffix = 'macosx_10_9_x86_64-gf_c469a42.tar.gz' typ = 'tar.gz' @@ -296,15 +299,11 @@ def test_setup(plats): if not target: raise RuntimeError(f'Could not setup {plat}') print('success with', plat, ilp64) - if osname == 'win': - if not target.endswith('.a'): - raise RuntimeError("Not .a extracted!") - else: - files = glob.glob(os.path.join(target, "lib", "*.a")) - if not files: - raise RuntimeError("No lib/*.a unpacked!") + files = glob.glob(os.path.join(target, "lib", "*.a")) + if not files: + raise RuntimeError("No lib/*.a unpacked!") finally: - if target is not None: + if target: if os.path.isfile(target): os.unlink(target) else: -- cgit v1.2.1