-
Notifications
You must be signed in to change notification settings - Fork 106
WIP 1.6 Artifacts JLL generation #880
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
Conversation
bb517f8 to
0fd7e19
Compare
src/AutoBuild.jl
Outdated
| copying the artifact over to a local `override` directory, allowing package | ||
| developers to experiment with a locally-built binary. | ||
| \"\"\" | ||
| function dev_jll() |
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.
Can't we add something to Pkg or BinaryBuilder to not have to put this into every jll? Like BinaryBuilder.dev("...")?
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.
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.
That's loaded by every jll files as well though? It just feels like the wrong place to put it, tools for developing the package shouldn't have to be compiled into the package itself imo. It should be handled by some external thing like JLLDeveloperTools.jl or just BinaryBuilder.
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.
That's an interesting point of view.
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.
I mean, packages don't need an update_me() function bundled with them and compiled into their .ji file nor do they need to depend on Pkg to be updatable. Because the process of updating a package is handled externally (and is independent) to the functionality of the package itself. This feels like kinda the same thing. If we want to make the jlls (and the common package they depend on) small, then moving everything dev-like that the package won't run itself during normal execution out to a developer package seems reasonable.
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.
To be clear, I think you're probably right that the function doesn't need to be here at all 😅
0fd7e19 to
d94f77f
Compare
Co-authored-by: Mosè Giordano <[email protected]>
Changing JLL generation to use the new 1.6
Artifactsstdlib, instead of Pkg, and optimizing things to do more work at compile time.