-
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
Source build runtime and emsdk workload manifests #3160
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
@directhex - Do you have a status update on this? The workloads are the largest group of remaining prebuilts in Preview1. |
It's related to dotnet/runtime#80920 which I just merged. Building the runtime-based manifests is easy, and shouldn't need emsdk at all (it's just json in a nupkg) |
WiP for emsdk manifest build dotnet/emsdk#274 |
@directhex - the emsdk manifest are now produced as part of source-build thanks to your changes. Do you have an update for when Exclude MAUI & Mobile manifests from the installer will be completed for preview 1? TIA |
Michael! Just the man I wanted to check in with! I added a property to Runtime, to allow building those manifests, I've added that to the definition in repo-projects/runtime.proj
It seems to pass through in the source-build run:
But then "something happens" in between my definition in runtime.proj, and the actual build logged in
So the command line gets reconstructed, and is skipping my added values? Either way, runtime is not producing the manifests when I expect it to, when called by the top-level source-build |
The properties specified in the repo-projects/runtime.proj don't automatically get passed along to the inner build as you noted. Ideally the repo-projects would have no/limited special repo settings. |
You could easily validate the e2e in the VMR and either backport the change or if necessary, a patch is an option for Preview 1. |
I'm going to mark this closed. As best I can determine, it's doing the right and expected thing now:
|
@directhex - Please reference link to the new issue to source build the maui workloads as discussed in dotnet/installer#15485. |
Background
In the dotnet SDK, there are baseline workload manifests that define the optional workloads that can be installed via
dotnet workload install <workload-name>
. Typically during workload install, the SDK will look to nuget.org for more up to date manifests and if found, will update. Each manifest is a package built out of the repository that defines them and then flows to the dotnet/installer repo to be bundled with the SDK. Up until this point, source build has not built the manifests and has manually injected them into the source built SDK.For more info on workload manifests, consult the design doc
Goal
For preview 1, we should source build the workload manifests for emsdk and runtime. Specifically,
microsoft.net.workload.emscripten
andmicrosoft.net.workload.mono.toolchain
. In the regular SDK, there are other workloads that support MAUI, but that is beyond the scope of source build for now.Tasks
microsoft.net.workload.emscripten
manifest in emsdkmicrosoft.net.workload.mono.toolchain
manifest in runtimeThe text was updated successfully, but these errors were encountered: