Uh oh!
There was an error while loading. Please reload this page.
ILCompiler: support publishing using a non-portable ILCompiler build. - #99148
Conversation
ghost
commented
Mar 1, 2024
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsContributes to dotnet/source-build#1215. @jkotas@hoyosjs@jkoritzinsky@agocke ptal. cc @MichaelSimons@ashnaga@omajid
|
tmds
commented
Mar 1, 2024
I validated this change together with dotnet/installer#18835. We should let the installer PR flow into the vmr before we merge this one. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@jkotas I took a look at what is in the non-portable compiler package and compared it with nuget.org's linux-x64 of .NET 9 preview1:
Is the difference in size of the libclrjit files expected? Because we want to enable publishing for the host os+architecture (using the non-portable rid), maybe we can remove some files from the non-portable nuget package that are meant for cross-targeting. |
jkotas
commented
Mar 5, 2024
Looks like the
We include all cross-compiling JITs in both NAOT and R2R compiler packages to keep things simple. If you would like to strip cross-compilation support for non-portable builds, I do not see a problem with it. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tmds
commented
Mar 6, 2024
Yes, that is the reason! keepnativesymbols is the default behavior for source-build: Line 385 in 3ddaeae and from reading #39203 I learn it is the responsibility of the distro package system to strip them.
I'll look closer into it once we have something working from the vmr. |
tmds
commented
Mar 12, 2024
@jkotas is this ready to merge? |
MichalStrehovsky
left a comment
There was a problem hiding this comment.
Looks reasonable to me otherwise!
Uh oh!
There was an error while loading. Please reload this page.
tmds
commented
Mar 13, 2024
Thank you, @jkotas! |
Contributes to dotnet/source-build#1215.
Closes#66859.
@jkotas@hoyosjs@jkoritzinsky@agocke ptal.
cc @MichaelSimons@ashnaga@omajid