Uh oh!
There was an error while loading. Please reload this page.
Add NativeAOT to build - #62569
Conversation
ghost
commented
Dec 9, 2021
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
ghost
commented
Dec 9, 2021
Tagging subscribers to this area: @hoyosjs Issue DetailsNativeAOT becomes part of the clr subset. The NativeAOT runtime and libraries are a clr.nativeaotlibs subset.
|
960b904 to
f1b7ff6CompareThere was a problem hiding this comment.
Why are non-coreclr pieces located under coreclr (same applies to tools) ?
There was a problem hiding this comment.
NativeAOT is a flavor of CoreCLR
There was a problem hiding this comment.
So there is no runtime agnostic tool or assembly in NativeAOT right now?
There was a problem hiding this comment.
We'll be moving files out as we unify the runtimes. E.g. a lot of src\coreclr\nativeaot\System.Private.Reflection.Core\src is basically src\libraries\System.Reflection.MetadataLoadContext\src but they need to be unified as we figure out the right shape of a common reflection stack (also shared with Mono). There's also bits and pieces in NativeAOT's corelib that we would like to share. Now that we have the things here, it's easier to do such refactorings.
MichalStrehovsky
commented
Dec 10, 2021
Cc @safern@jkoritzinsky for general build-infra. This is enabling NativeAOT bits in the CoreCLR build. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MichalStrehovsky
commented
Dec 14, 2021
@dotnet/runtime-infrastructure this is adding NativeAOT to the CLR build.
|
| </ItemGroup> | ||
| <ItemGroup Condition="$(_subset.Contains('+clr.nativeaotlibs+')) and '$(NativeAotSupported)' == 'true'"> | ||
| <ProjectToBuild Include="$(CoreClrProjectRoot)nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj" Category="clr" /> |
There was a problem hiding this comment.
Why not include these as a wildcard?
NativeAOT becomes part of the clr subset.
The NativeAOT runtime and libraries are a clr.nativeaotlibs subset.
The NativeAOT object writer (not built by default) is clr.objwriter subset.
The AOT compiler is part of the existing clr.tools subset.