diff options
author | mattip <matti.picus@gmail.com> | 2020-02-17 14:22:58 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-02-17 14:34:44 +0200 |
commit | 49265d16321db427aecab7d805230442b4f87135 (patch) | |
tree | 6b474d3ca57fbcb28b20481231524992768cad87 /tools | |
parent | cd02ddc9c0ea2b7f5f879c0564709eabcec6f1af (diff) | |
download | numpy-49265d16321db427aecab7d805230442b4f87135.tar.gz |
BLD: manylinux2010 docker reports machine=i686
Diffstat (limited to 'tools')
-rw-r--r-- | tools/openblas_support.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/openblas_support.py b/tools/openblas_support.py index add6a2ecd..cee76022f 100644 --- a/tools/openblas_support.py +++ b/tools/openblas_support.py @@ -23,12 +23,12 @@ def get_arch(): ret = 'windows' elif platform.system() == 'Darwin': ret = 'darwin' - elif 'x86' in platform.uname().machine: - # What do 32 bit machines report? - # If they are a docker, they report x86_64 - ret = 'x86' else: ret = platform.uname().machine + # What do 32 bit machines report? + # If they are a docker, they report x86_64 or i686 + if 'x86' in ret or ret == 'i686': + ret = 'x86' assert ret in ARCHITECTURES return ret |