-
Notifications
You must be signed in to change notification settings - Fork 111
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
Compile Time & Resources (Formerly: Cannot compile on Raspberry Pi 3) #42
Comments
I am going to make this more general about the compilation time and resources, not just for a Raspberry Pi 3. I am not considering offering binaries at this point as a specific solution, since there's coding solutions available. If someone feels strongly about binary offerings, please open a new issue. Quoting myself from #48:
|
af5ed41 eliminates ~230,000 lines of code in the
As mentioned before, I'd like to keep this issue focused with all code-gen optimization discussions. I'll continue using the Raspberry Pi 3 as the metric whether to keep this issue open/closed. |
Note that I talked offline to @Sigafoos and learned that the above change is not sufficient; a Pi will will lock up during compilation. Leaving this issue open, and it may be completed at a later milestone. |
Changed milestones because realistically it won't be easy to solve before the API is reexamined. |
Moving to backlog (no milestone) |
Random thought: generate one package per type and nudge any users to switch to the new API? This may be easy, as godoc/gowalker don't show many any users, and a very, very cursory look at arbitrarily chosen |
If someone with a Raspberry Pi would like to pull the latest master
Once the results of the build are in, cleanup is just:
I am hoping that compilation will succeed on such a constrained environment with the way the code generator separates implementations into smaller packages, but I don't have one handy to test myself. |
It does compile successfully! Huzzah. |
YES! Thank you so so much for being patient and waiting the better part of a year to see any movement on this. I will mark this issue as closed and continue working towards v1 release which will hopefully not regress on this in the meantime. Feel free to reopen again in the future. |
Both
go build
andgo install
fail for streams and vocab on a Raspberry Pi 3 due to running out of memory. (I can get specifics later today if needed; the pi is so upset with me it's no longer responding to ssh)I understand why: the packages are huge, with good reason. A simple fix would potentially be to offer releases for major/minor versions.
(users can also compile on a better machine with
env GOOS=linux GOARCH=arm go build
and then copy the binary)The text was updated successfully, but these errors were encountered: