Skip to content

Commit f4532c6

Browse files
Add macos support to S3 mpy-cross
1 parent 1b45018 commit f4532c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

circuitpython_build_tools/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ def mpy_cross(mpy_cross_filename, circuitpython_tag, quiet=False):
7373
s3_url = None
7474
if uname[0] == 'Linux' and uname[4] == 'amd64':
7575
s3_url = f"{S3_MPY_PREFIX}mpy-cross.static-amd64-linux-{circuitpython_tag}"
76-
print(s3_url)
7776
elif uname[0] == 'Linux' and uname[4] == 'armv7l':
7877
s3_url = f"{S3_MPY_PREFIX}mpy-cross.static-raspbian-{circuitpython_tag}"
79-
print(s3_url)
78+
elif uname[0] == 'Darwin' and uname[4] == 'x86_64':
79+
s3_url = f"{S3_MPY_PREFIX}mpy-cross-macos-catalina-{circuitpython_tag}"
8080
else:
8181
print(f"\nUnable to check S3 for sysname='{uname[0]}' release='{uname[2]}' machine='{uname[4]}'.")
8282
print(" Please file an issue at https://github.com/adafruit/circuitpython-build-tools/ with the above message")

0 commit comments

Comments
 (0)