Skip to content

Commit

Permalink
Build Windows NativeAOT runtime packs (#96509)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnavara committed Jan 5, 2024
1 parent 9325d38 commit dcd9ad4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
2 changes: 2 additions & 0 deletions eng/pipelines/runtime-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ extends:
- linux_musl_arm64
- linux_bionic_x64
- linux_bionic_arm64
- win_x64
- win_arm64
jobParameters:
buildArgs: -s clr.nativeaotlibs+clr.nativeaotruntime+libs+packs -c $(_BuildConfig) /p:BuildNativeAOTRuntimePack=true /p:SkipLibrariesNativeRuntimePackages=true
nameSuffix: NativeAOT
Expand Down
30 changes: 27 additions & 3 deletions src/installer/pkg/sfx/Microsoft.NETCore.App/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<PlatformManifestFileEntry Include="Microsoft.DiaSymReader.Native.amd64.dll" IsNative="true" FallbackFileVersion="$(MicrosoftDiaSymReaderNativeFileVersion)" />
<PlatformManifestFileEntry Include="Microsoft.DiaSymReader.Native.arm.dll" IsNative="true" FallbackFileVersion="$(MicrosoftDiaSymReaderNativeFileVersion)" />
<PlatformManifestFileEntry Include="Microsoft.DiaSymReader.Native.arm64.dll" IsNative="true" FallbackFileVersion="$(MicrosoftDiaSymReaderNativeFileVersion)" />
<!-- NativeAOT specific files -->
<!-- NativeAOT/Unix specific files -->
<PlatformManifestFileEntry Include="libbootstrapper.a" IsNative="true" /> <!-- The bootstrapper lib used to be a static library, now it's an object file. -->
<PlatformManifestFileEntry Include="libbootstrapperdll.a" IsNative="true" />
<PlatformManifestFileEntry Include="libbootstrapper.o" IsNative="true" />
Expand All @@ -141,9 +141,33 @@
<PlatformManifestFileEntry Include="libeventpipe-enabled.a" IsNative="true" />
<PlatformManifestFileEntry Include="libRuntime.ServerGC.a" IsNative="true" />
<PlatformManifestFileEntry Include="libRuntime.WorkstationGC.a" IsNative="true" />
<PlatformManifestFileEntry Include="libstandalonegc-disabled.a " IsNative="true" />
<PlatformManifestFileEntry Include="libstandalonegc-enabled.a " IsNative="true" />
<PlatformManifestFileEntry Include="libstandalonegc-disabled.a" IsNative="true" />
<PlatformManifestFileEntry Include="libstandalonegc-enabled.a" IsNative="true" />
<PlatformManifestFileEntry Include="libstdc++compat.a" IsNative="true" />
<!-- NativeAOT/Windows specific files -->
<PlatformManifestFileEntry Include="bootstrapper.obj" IsNative="true" />
<PlatformManifestFileEntry Include="bootstrapper.GuardCF.obj" IsNative="true" />
<PlatformManifestFileEntry Include="bootstrapperdll.obj" IsNative="true" />
<PlatformManifestFileEntry Include="bootstrapperdll.GuardCF.obj" IsNative="true" />
<PlatformManifestFileEntry Include="eventpipe-disabled.lib" IsNative="true" />
<PlatformManifestFileEntry Include="eventpipe-disabled.GuardCF.lib" IsNative="true" />
<PlatformManifestFileEntry Include="eventpipe-enabled.lib" IsNative="true" />
<PlatformManifestFileEntry Include="eventpipe-enabled.GuardCF.lib" IsNative="true" />
<PlatformManifestFileEntry Include="Runtime.ServerGC.lib" IsNative="true" />
<PlatformManifestFileEntry Include="Runtime.ServerGC.GuardCF.lib" IsNative="true" />
<PlatformManifestFileEntry Include="Runtime.WorkstationGC.lib" IsNative="true" />
<PlatformManifestFileEntry Include="Runtime.VxsortEnabled.lib" IsNative="true" />
<PlatformManifestFileEntry Include="Runtime.VxsortEnabled.GuardCF.lib" IsNative="true" />
<PlatformManifestFileEntry Include="Runtime.VxsortDisabled.lib" IsNative="true" />
<PlatformManifestFileEntry Include="standalonegc-disabled.lib" IsNative="true" />
<PlatformManifestFileEntry Include="standalonegc-disabled.GuardCF.lib" IsNative="true" />
<PlatformManifestFileEntry Include="standalonegc-enabled.lib" IsNative="true" />
<PlatformManifestFileEntry Include="standalonegc-enabled.GuardCF.lib" IsNative="true" />
<PlatformManifestFileEntry Include="System.Globalization.Native.Aot.lib" IsNative="true" />
<PlatformManifestFileEntry Include="System.Globalization.Native.Aot.GuardCF.lib" IsNative="true" />
<PlatformManifestFileEntry Include="System.IO.Compression.Native.Aot.lib" IsNative="true" />
<PlatformManifestFileEntry Include="System.IO.Compression.Native.Aot.GuardCF.lib" IsNative="true" />
<!-- NativeAOT managed specific files -->
<PlatformManifestFileEntry Include="System.Private.DisabledReflection.dll" />
<PlatformManifestFileEntry Include="System.Private.Reflection.Execution.dll" />
<PlatformManifestFileEntry Include="System.Private.StackTraceMetadata.dll" />
Expand Down

0 comments on commit dcd9ad4

Please sign in to comment.