Add Linux/x86_64 to mpy-cross S3 check
This commit is contained in:
parent
c9a7d6323e
commit
39b1fe192f
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ def mpy_cross(mpy_cross_filename, circuitpython_tag, quiet=False):
|
|||
# Try to pull from S3
|
||||
uname = os.uname()
|
||||
s3_url = None
|
||||
if uname[0] == 'Linux' and uname[4] == 'amd64':
|
||||
if uname[0] == 'Linux' and uname[4] in ('amd64', 'x86_64'):
|
||||
s3_url = f"{S3_MPY_PREFIX}mpy-cross.static-amd64-linux-{circuitpython_tag}"
|
||||
elif uname[0] == 'Linux' and uname[4] == 'armv7l':
|
||||
s3_url = f"{S3_MPY_PREFIX}mpy-cross.static-raspbian-{circuitpython_tag}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue