-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Build static binaries of mpy-cross for desktop linux, desktop windows, mac, and raspbian #2551
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
Build static binaries of mpy-cross for desktop linux, desktop windows, mac, and raspbian #2551
Conversation
.. for windows, desktop (x86_64) linux, and raspbian
50c571a
to
b5b7b6f
Compare
@jepler, you sure made quick work of this! I do have some higher-level suggestions, which likely require some other points of view besides mine.
|
I have prepared some rules for building mac mpy-cross. I did not static link this one, and I have no way of running/testing it. if someone can pick the binary up and give it a run, please let us know. Note that it builds on Catalina so for all I know Catalina is a minimum version to run it; I don't know much about how cross-version stuff goes on macos. (sensing a theme yet?) |
@sommersoft absolutely I'm open to re-working this into the form that is most useful. This is a proof of concept that we can build the binaries we want within github actions, and the rules can be copied (or cut) and pasted to a more appropriate place for sure! |
I think I build MacOS mpy-cross statically just by adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jepler. Like you said, the integration can come later...
these are attached as artifacts of the github actions build. More work would be needed to get them to a useful spot, such as on circuitpython.org. Related to adafruit/circuitpython-org#53
Testing performed: that all the programs run and print a message that no input file was provided, when run on the appropriate host. (wine64 in the case of the windows executable, I don't have any native windows machine handy)