Conversation
by reducing build-time closure size Nix is a little slower than the other CI builds, and I'm guessing it's mostly because of having to download a bunch of individual dev tools instead of pulling a single docker image. That's pretty unavoidable, but I'm going to see how much of a difference reducing the download size makes. Specifically: * use stdenvNoCC - we don't need a native compiler, we're only compiling using our special gamecube toolchain * use python3Minimal - we don't need any fancy python bells and whistles, we just need to run configure.py * declutter compilers - we don't need Wii or ProDG compilers, or any GC tools other than the specific versions we've selected * disable objdiff-gui - not needed by the CLI-only nix sandbox build, and in a shell, I can use a separate objdiff-gui from my PATH Altogether that should shave a couple hundred megs off the download.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
by reducing build-time closure size
Nix is a little slower than the other CI builds, and I'm guessing it's mostly because of having to download a bunch of individual dev tools instead of pulling a single docker image. That's pretty unavoidable, but I'm going to see how much of a difference reducing the download size makes. Specifically:
Altogether that should shave a couple hundred megs off the download.