-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add clrgc binary to sharedFx #72032
Add clrgc binary to sharedFx #72032
Conversation
Tagging subscribers to this area: @dotnet/gc Issue DetailsAdding clrgc.dll (.so/dylib) to the sharedFx build so we could fallback to GC segments if required. We dont plan to update sdk to copy things over for "Self-contained" unless it would get copied since its in the right place.
|
@trylek who would be the best person to review from the infra standpoint? |
Hmm, I'm not 100% sure, perhaps @ViktorHofer could take a first look and decide whether he feels comfortable reviewing the change or recommend someone else. |
I'm probably the best person to review this. It looks good to me |
Thanks @jkoritzinsky. Do you know what the implication of adding clrgc to |
If you add it to Directory.Build.props, then it will be in the platform manifest for all of the I think this file will automatically be copied as part of self-contained deployment since it's in the shared-framework package, but I don't remember how the SDK pulls files for that. It won't be included in single-file deployment though, I checked how that works. |
what's the criteria to include something in SCD? clrgc.dll is about 650k -
|
I don't know the criteria, but I think we include anything that's in the runtime pack. I don't think we have an exclusion mechanism for that today. |
that's great because I'd like this to be included in SCD :) |
Yeah if the file is listed in the framework list (which all files in a runtime pack are), it will automatically be included in the self-contained deployment. There's actually no way today to include files in the runtime pack and not include them in the framework list (we'd have to add a feature to the Shared Framework SDK in Arcade to support that) |
I have verified locally that clrgc.dll makes it into the |
I have verified on the latest p7 sdk that clrgc.dll is dropped with the sharedFx, and also included for |
Adding clrgc.dll (.so/dylib) to the sharedFx build so we could fallback to GC segments if required.
We dont plan to update sdk to copy things over for "Self-contained" unless it would get copied since its in the right place.