MCPcopy Create free account
hub / github.com/numpy/numpy / get_manylinux

Function get_manylinux

tools/openblas_support.py:58–64  ·  view source on GitHub ↗
(arch)

Source from the content-addressed store, hash-verified

56
57
58def get_manylinux(arch):
59 default = '2014'
60 ml_ver = os.environ.get("MB_ML_VER", default)
61 # XXX For PEP 600 this can be a glibc version
62 assert ml_ver in ('2010', '2014', '_2_24'), f'invalid MB_ML_VER {ml_ver}'
63 suffix = f'manylinux{ml_ver}_{arch}.tar.gz'
64 return suffix
65
66
67def get_musllinux(arch):

Callers 1

get_linuxFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected