summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorXavier Thomas <43476211+xavierohan@users.noreply.github.com>2020-01-25 06:32:02 +0530
committerGitHub <noreply@github.com>2020-01-25 06:32:02 +0530
commita53a70e526d911a08cc5bc62ab5a25b73ebcc4a8 (patch)
tree4dc869cc2ef738ca22d0a84f4d468433d7fd139c /tools
parent84c2e1828398a2112ebb6f9183dee49746187c06 (diff)
downloadnumpy-a53a70e526d911a08cc5bc62ab5a25b73ebcc4a8.tar.gz
Made changes to openblas_support.py
Assigned a variable MAC_VERSION for macosx_10_9_x86_64-gf_1becaaa.tar.gz
Diffstat (limited to 'tools')
-rw-r--r--tools/openblas_support.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/openblas_support.py b/tools/openblas_support.py
index a33e2e6d4..103ccf317 100644
--- a/tools/openblas_support.py
+++ b/tools/openblas_support.py
@@ -40,6 +40,7 @@ def get_ilp64():
return "64_"
def download_openblas(target, arch, ilp64):
+ MAC_VERSION = 'macosx_10_9_x86_64-gf_1becaaa.tar.gz'
fnsuffix = {None: "", "64_": "64_"}[ilp64]
filename = ''
if arch in ('aarch64', 'ppc64le', 's390x'):
@@ -47,7 +48,7 @@ def download_openblas(target, arch, ilp64):
typ = 'tar.gz'
typ = 'tar.gz'
elif arch == 'darwin':
- filename = f'{RACKSPACE}/openblas{fnsuffix}-{OPENBLAS_LONG}-macosx_10_9_x86_64-gf_1becaaa.tar.gz'
+ filename = f'{RACKSPACE}/openblas{fnsuffix}-{OPENBLAS_LONG}-{MAC_VERSION}'
typ = 'tar.gz'
elif arch == 'windows':
if IS_32BIT: