-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
.github/workflows/build_mpy_cross.yml: Build various mpy-cross binaries. #10834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This provides binaries that will be used to generate mpy-cross binaries for inclusion in a future PyPI package. Includes Linux (32-bit and 64-bit), Windows (32-bit and 64-bit), aarch64 (e.g. 64-bit Raspberry Pi 4), armhf (e.g. earlier 32-bit Raspberry Pi), macos (x64, works on M1/ARM too). Currently using Ubuntu Bionic as the build environment (so that it supports older glibc, i.e. Ubuntu Bionic LTS and Debian Buster). This is deprecated, but we can move to Focal when support is removed (which will support the current Debian/Raspbian Bullseye and Ubuntu LTS). This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <[email protected]>
|
Code size report: |
|
Nice work bringing it all together! |
|
Alternate solution: https://github.com/pybricks/python-mpy-cross-multi (with binaries provided by https://github.com/pybricks/python-mpy-cross) Advantages:
Notes:
|
|
Hi Last year I open as issue regarding the usefulness of two mpy-cross utilities: @jimmo Jim suggested to me to continue the discussion here. I waited ... no hurry ... and now I ask for an update ;-) Docs For the common man, IMHO, there must be a brief summary of this development in the MP's official documents. |
|
More recent related discussions:
@andrewleech was working on filling in some of the missing features in his version recently, so maybe close to no longer needing two different packages for different use cases? |
This provides binaries that will be used to generate mpy-cross binaries for inclusion in a future PyPI package.
Includes Linux (32-bit and 64-bit), Windows (32-bit and 64-bit), aarch64 (e.g. 64-bit Raspberry Pi 4), armhf (e.g. earlier 32-bit Raspberry Pi), macos (x64, works on M1/ARM too). This is the same set that @andrewleech provides currently for https://pypi.org/project/mpy-cross/ via https://gitlab.com/alelec/mpy_cross/-/blob/master/.gitlab-ci.yml
Demo artifacts are here: https://github.com/jimmo/micropython/actions/runs/4259908934
Tested both Windows builds in Wine, armhf on a Raspberry Pi 3 running Buster, macos on an M1.
I have a Raspberry 4, will test the aarch64 build there soon. Can test the Windows builds on real Windows next week.
Currently using Ubuntu Bionic as the build environment (so that it supports older glibc, i.e. Ubuntu Bionic LTS and Debian Buster). This is deprecated, but we can move to Focal when support is removed (which will support the current Debian/Raspbian Bullseye and Ubuntu LTS).
This work was funded through GitHub Sponsors.