-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
vlc: shrink runtime closure size by removing CONFIGURE_LINE #49315
Conversation
cc @cleverca22 (reported #49287) |
@GrahamcOfBorg build vlc |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: vlc Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: vlc Partial log (click to expand)
|
Timed out, unknown build status on x86_64-linux (full log) Attempted: vlc Partial log (click to expand)
|
After a bit of digging, we can also shrink the closure size by patching some error messages that reference the Qt development headers. With the latest commit, we have:
Or about 623MiB, which is just about half of the original size! @joachifm - The build times appears to time out, but I can confirm that it works locally on NixOS 18.09 - the build (including the new commit) succeeds and VLC starts successfully. |
LGTM. Thank you |
And thank you for the quick response 😀 |
Motivation for this change
Shrink the runtime closure size for VLC by removing the
./configure
flags from compiled binaries.Before/after sizes, tested on NixOS 18.09:
(about 1.2GiB to 0.83GiB)
Fixes #49287
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)