-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix building the host-targeting components and packing ILC #111552
Conversation
…the SDK (it's not set before Subsets.props)
…do with crossgen2.
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
Yeah I've checked all of the binlogs and they're doing the right thing (no sfx in the tools dir). I'm going to merge this in. |
I was building it in GHA but it was using main branch https://github.com/am11/CrossRepoCITesting/releases/tag/linux_x64_12836857446. The PR branch did removed the extra files https://github.com/am11/CrossRepoCITesting/releases/tag/linux_x64_12837954845. Sorry for the confusion. Good fix! 👍 |
@jkoritzinsky, on community platforms, we get libs.native artifacts in Is it because of linux conditions runtime/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj Line 41 in 3998f4a
ilc-published/ dir.
|
It's from whatever drops them in ilc-published. The packaging logic just takes everything from that folder and puts it in tools. I'm not sure what's dropping them there in the community platforms. Maybe something due to the staged build logic? |
* main: (89 commits) Add Dispose for X509Chain instance (dotnet#110740) Fix XML comment on regex split enumerator (dotnet#111572) JIT: tolerate missing InitClass map in SPMI (dotnet#111555) Build ilasm/ildasm packages for the host machine (dotnet#111512) Unicode 16.0 Support (dotnet#111469) Improve performance of interface method resolution in ILC (dotnet#103066) Fix building the host-targeting components and packing ILC (dotnet#111552) Improve JSON validation perf (dotnet#111332) Update github-merge-flow.jsonc to autoflow 9.0 to 9.0-staging (dotnet#111549) Include GPL-3 licence text in the notice (dotnet#111528) Remove explicit __compact_unwind entries from x64 assembler (dotnet#111530) Add MemoryExtensions overloads with comparer (dotnet#110197) Avoid capturing the ExecutionContext for the whole HTTP connection lifetime (dotnet#111475) Forward DefaultArtifactVisibility down from the VMR orchestrator (dotnet#111513) Fix relocs errors on riscv64 (dotnet#111317) Added JITDUMP_USE_ARCH_TIMESTAMP support. (dotnet#111359) add rcl/rcr tp and latency info (dotnet#111442) Fix stack overflow in compiler-generated state (dotnet#109207) Produce a package with the host-running ILC for repos in the VMR (dotnet#111443) Delete dead code in ilasm PE writer (dotnet#111218) ...
NETCoreSdkRuntimeIdentifier
isn't set until after the Microsoft.NET.Sdk'sSdk.props
file has been imported fully. Use the "after Sdk props" hook to set the "should build host tools" property so project files and item groups in Subsets.props can see the correct property value.Also change how we publish ILCompiler to better follow the model of crossgen2. This restores the expected behavior of publishing an AOT or single-file ilc.
Fixes failures in dotnet/sdk#45990