-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support for X or other configure flags #19
Comments
I guess I'm not averse to it, but I would want GUI support on both platforms, and for the "with X" configurations to be variants in addition to the existing builds, not replacements for them. I believe the download size for these variants would be significantly larger. I'm not super motivated to work on it myself, I'm afraid. |
I'm also interested in X support. Do you have a rough guide of what needs to be done for it to move forward (so maybe I can start some PR)? Based on my images X support adds 50-100 MB (25.1 is using nix-emacs, 25.3 is my current build): philippe@stvs-pv-laptop-01:/mnt/c/Users/Philippe Vaucher$ docker images | grep silex | grep ci
silex/emacs 25.1-ci 0d117dc22581 4 days ago 394MB
silex/emacs 25.3-ci 370b56ba15b5 10 days ago 484MB
philippe@stvs-pv-laptop-01:/mnt/c/Users/Philippe Vaucher$ docker images | grep silex | grep alpine
silex/emacs 25.1-alpine 790e6d47d922 4 days ago 178MB
silex/emacs 25.3-alpine f16d9018b97c 8 weeks ago 224MB |
The route to this would be incorporating more code from the upstream nixpkgs expression into |
|
Probably, yes, but I'd rather not. I should look into the cache usage, if stats for that exist. |
Hmm, where does it say that cachix is limited to 1GB of artifacts?
Should be at least 5GB? I think it sounds good to start with providing two flavors, one with multiple features enabled and one lightweight. |
Ah, nice, I think that might have changed since the early days of cachix. |
What would be good names? Also is +100MB really a showstopper? One version is simpler 😉 |
Related to #49. |
It would be great to get some version building with |
@tgbugs I was thinking about this when I was updating the snapshot version recently. I figured it wasn't particularly worthwhile for the sake of performance, but if there are compiler warning differences then that becomes more interesting: do you have any pointers? |
If I understand the question correctly, you need libgccjit installed, and should probably run make with NATIVE_FULL_AOT=1 so that the native binaries are already built otherwise every CI job could involve running the compiler over the same builtin elisp packages. We are also in the process of exploring whether the difference in compiler warnings is expected behavior, if it is not then this might not matter, however having a native comp build for CI might help catch Emacs regressions like this (assuming this is a regression). |
Yeah, if there's a case that isn't a regression — ie. there are additional useful compiler warnings that are only produced in the presence of native compilation — then this would certainly make sense to explore. Catching regressions in Emacs itself is probably not a primary goal though. |
I know that this might be missing the target, as this is mainly intended for CI use. But recently I switched over my local test-environment to using these nix derivations as well. However, sometimes I would like to test a UI feature, but since it is compiled with
with-x=no
among other things I can't. I wonder if it would be possible to add extra options, or if that would miss the point with cache and all.https://github.com/purcell/nix-emacs-ci/blob/emacs-snapshot-2020-01-27/emacs.nix#L39-L49
Is there no case on CI where you would like to toggle specific features?
Feel free to close this if this is missing the point and out of scope.
Thank you for a great solution, makes testing my packages against different versions a breeze.
The text was updated successfully, but these errors were encountered: