-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Automatic (re)building of mpy-cross negatively affects development cycle #3255
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
Comments
The issue is not the mpy-cross dependency but rather the frozen bytecode dependency. And it's possible to remove this dependency (and hence not build mpy-cross0:
That will (or at least should) work for all ports. Though it may require a fresh build the first time, since it changes mpconfig.h options. |
I'm not sure I agree. I'm fine with bytecode dependency, and would like to build executable as configured in mainline (e.g. with upip frozen for unix port). What I wouldn't like is mpy-cross rebuilt on every sneeze, as probability that something affecting mpy-cross changed in current working session is low. Is there provision to ignore frozen bytecode's dependency on mpy-cross (i.e. make it all work like before, by passing something on the make command line) ? |
Any progress on this? Halving the typical compile time is a worthwhile goal IMO. |
Resolved by 4173950 |
Fix Read the Docs bulid failing
Ever since mpy-cross started to build automatically on "make" (e.g. on unix) port, there's additional (2x or more) wait time on each change to rebuild it. This makes development more cumbersome. There should be a special make target to build just local upy binary, without updating mpy-cross, or some other workaround.
The text was updated successfully, but these errors were encountered: