Skip to content

Commit 39b1fe1

Browse files
Add Linux/x86_64 to mpy-cross S3 check
1 parent c9a7d63 commit 39b1fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circuitpython_build_tools/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def mpy_cross(mpy_cross_filename, circuitpython_tag, quiet=False):
7171
# Try to pull from S3
7272
uname = os.uname()
7373
s3_url = None
74-
if uname[0] == 'Linux' and uname[4] == 'amd64':
74+
if uname[0] == 'Linux' and uname[4] in ('amd64', 'x86_64'):
7575
s3_url = f"{S3_MPY_PREFIX}mpy-cross.static-amd64-linux-{circuitpython_tag}"
7676
elif uname[0] == 'Linux' and uname[4] == 'armv7l':
7777
s3_url = f"{S3_MPY_PREFIX}mpy-cross.static-raspbian-{circuitpython_tag}"

0 commit comments

Comments
 (0)