-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Lengthy RuntimeIdentifierGraph update roundtrip with SDK #37790
Comments
Tagging subscribers to this area: @safern, @ViktorHofer |
I think the previous tag was correct; this was only encountered during the build of CLR tests. |
The fundamental problem is the process required to add new RIDs that falls under libraries though. |
I don't know how flowing of the RID graph into the SDK currently works. I assumed this is handled by the |
To my knowledge dotnet/installer pulls down the Microsoft.NETCore.Platforms package during build and embeds the file in the final product. |
Seems like the SDK just needs a place to define this. Let's see if they have it. /cc @dsplaisted |
You can set the |
I think runtime/eng/liveBuilds.targets Line 202 in c19ce52
For some reason it is not taking effect when this targets is imported by Directory.Build.targets at repo root. (it is already too late by then?) Before the
|
@am11 it looks like you need to set the property @dsplaisted mentions ( |
Replacing |
A change to
src/libraries/pkg/Microsoft.NETCore.Platforms/runtime.json
requires a full update cycle, which includes:runtime.json
merged in runtime repoThis blocks building CLR tests on a new platform, until all of the above has happened (or we patch SDK after the restore). For example, my current workaround is:
In the age of live-live builds, is it possible to ensure
LiveRuntimeIdentifierGraphPath
fromeng/liveBuilds.targets
is properly picked up during the SDK resolution for test build? Currently it seem to have no effect (despite being imported insrc/coreclr/tests/src/Common/test_dependencies/test_dependencies.csproj
) and SDK ends up using.dotnet/sdk/<version>/RuntimeIdentifierGraph.json
, instead of theruntime.json
file pointed byLiveRuntimeIdentifierGraphPath
.cc @jashook, @jkotas
The text was updated successfully, but these errors were encountered: