-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
R: Add enableShared/enableStatic arguments #72058
Conversation
@GrahamcOfBorg eval R |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just out of curiosity: why would you want to link R packages statically?
Linking the R interpreter library statically would allow to create single binaries that can interpret R scripts. My own end goal for that is to be able to link the Haskell packages |
R's autoconf does not use the normal configure flags for that.
@GrahamcOfBorg build R |
@peti Points addressed, please have another look :) |
Motivation for this change
Building
libR.a
for static linking.Care was taken to not modify the derivation to trigger mass rebuilds with the default arguments.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @peti @timokau