-
Notifications
You must be signed in to change notification settings - Fork 132
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
system-libs default [.NET 10] #4625
Comments
Does it make more sense to hardcode this default in the dotnet/runtime repo or in the top-level VMR script? |
It would be the default value of the argument that is settable on the vmr build script. For convenience, it would be nice if we make runtime use the same system libs by default when building it non-portable. |
It would mean to hardcode this default in dotnet/runtime repo. If the default is hardcoded in dotnet/runtime repo, is there anything else needed? |
No. The runtime can use the default when nothing is set explicitly. A user will have to look in the runtime sources to know what the default means. |
[Triage] If the default is to use the system-libs, we need to support scenarios where a distro doesn't have all of the required system libs (e.g. there has to be a granular opt out mechanism). I would like more feedback from @dotnet/distro-maintainers on this. What behavior would they like to see? |
On Ubuntu, the default is to always use archive dependencies whenever possible. Having the VMR default to system libraries then is handy because it would follow our behavior and we would avoid having to maintain a So, IMO I believe that inverting the flag logic from Also, I think it would be quite helpful if the help message for the flag in the |
Currently the vmr defaults to build with bundled libs.
To fix an issue in .NET 9 we switched to use system brotli in dotnet/runtime#107225 and in dotnet/runtime#107166 we're switching back to bundled for .NET 10.
If there is a set of libraries that maintainers will likely prefer to use from the system, it would be nice if the vmr would default to those for "non-portable, source-only" builds.
I assume that brotli is one of those because there was zero objection to switch to the system brotli in dotnet/runtime#107020.
cc @MichaelSimons @omajid @jkotas @dotnet/distro-maintainers
The text was updated successfully, but these errors were encountered: