From 1c237a9f2d69f143325f2de817ffd32d1949594e Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Sat, 26 Feb 2022 12:31:23 -0800 Subject: [PATCH 01/32] Typo --- .../TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/tools/Common/TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs b/src/coreclr/tools/Common/TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs index 798db1e017263a..92d8b2b842b2aa 100644 --- a/src/coreclr/tools/Common/TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs +++ b/src/coreclr/tools/Common/TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs @@ -389,7 +389,7 @@ public sealed record SymUnmanagedReaderRcw(IntPtr Inst) : ISymUnmanagedReader private bool _disposed = false; // This is not actually called in any code path right now. Rather than implement this - // without testing, it's been lefted throwing an exception. If this code path is ever + // without testing, it's been left throwing an exception. If this code path is ever // reached, it can be implemented and tested. public int GetMethod(int methodToken, out ISymUnmanagedMethod method) => throw new NotImplementedException(); From b3435c22305163f1b9273cfae113c002646c1c02 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Sun, 27 Feb 2022 22:10:43 -0800 Subject: [PATCH 02/32] Publish crossgen as AOT if supported, and self-contained otherwise --- eng/liveBuilds.targets | 15 ++++ src/coreclr/Directory.Build.props | 6 +- .../aot/crossgen2/crossgen2_publish.csproj | 44 +++++++++ .../Microsoft.NETCore.App.Crossgen2.sfxproj | 90 ++++++------------- .../CompilerServices/RuntimeHelpers.cs | 5 ++ 5 files changed, 96 insertions(+), 64 deletions(-) create mode 100644 src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj diff --git a/eng/liveBuilds.targets b/eng/liveBuilds.targets index d31305effaa8e8..0770eeb3f1f398 100644 --- a/eng/liveBuilds.targets +++ b/eng/liveBuilds.targets @@ -49,6 +49,7 @@ x86 x64 x64 + $(CoreCLRArtifactsPath)/corehost/singlefilehost$(ExeSuffix) @@ -223,4 +224,18 @@ $(RuntimeIdGraphDefinitionFile) + + + + + + + + $(MicrosoftNetCoreAppRuntimePackDir) + + + diff --git a/src/coreclr/Directory.Build.props b/src/coreclr/Directory.Build.props index dd4849e9b861c6..364f6d01582f19 100644 --- a/src/coreclr/Directory.Build.props +++ b/src/coreclr/Directory.Build.props @@ -17,10 +17,10 @@ true $([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', 'coreclr', '$(MSBuildProjectName)')) $([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', 'coreclr', 'nativeaot', '$(MSBuildProjectName)')) - $(BaseIntermediateOutputPath)$(Configuration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(BaseIntermediateOutputPath)$(RuntimeConfiguration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(RuntimeConfiguration)\ $(MSBuildThisFileDirectory) - $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'coreclr', '$(TargetOS).$(TargetArchitecture).$(Configuration)')) + $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'coreclr', '$(TargetOS).$(TargetArchitecture).$(RuntimeConfiguration)')) false false diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj new file mode 100644 index 00000000000000..c1fdc4fe59639b --- /dev/null +++ b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj @@ -0,0 +1,44 @@ + + + + + + $(RuntimeBinDir)crossgen2 + $(Crossgen2PackageRID) + true + + true + false + + + + + + + true + + false + + false + true + + + + $(CoreCLRILCompilerDir) + $(CoreCLRCrossILCompilerDir) + clang-9 + $(ROOTFS_DIR) + $(CoreCLRILCompilerDir)netstandard/ILCompiler.Build.Tasks.dll + $(CoreCLRAotSdkDir) + $(MicrosoftNetCoreAppRuntimePackRidLibTfmDir) + false + + + true + + + + + + + diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 2dbe486d0538d4..58e3fd3de43833 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -1,10 +1,9 @@ - - - + + true - RuntimePack + ToolPack $(SharedFrameworkName).Crossgen2 .PGO $(SharedFrameworkName)$(PgoSuffix).$(RuntimeIdentifier) @@ -13,56 +12,42 @@ linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64;win-arm false - - AddRuntimeFilesToPackage; - AddFrameworkFilesToPackage - - true - - false - - false tools/ true + false - - unix - win - $(TargetOSComponent)-$(TargetArchitecture) - - - - - - - - - - - - - - - - - + + + + - - - - - + <_CrossgenPublishFiles Include="@(_RawCrossgenPublishFiles->'%(OutputPath)')" + KeepMetadata="REMOVE_ALL" /> - - - - - + + + + + + + + unix + win + $(TargetOSComponent)-$(TargetArchitecture) + + <_Crossgen2SymbolFilesToPackage Include="@(Reference->'$(CoreCLRArtifactsPath)PDB\%(FileName).pdb')" /> @@ -75,23 +60,6 @@ - - - <_diaSymTargetArch>$(TargetArchitecture) - <_diaSymTargetArch Condition="'$(TargetArchitecture)' == 'x64'">amd64 - <_diaSymReaderTargetArchPath>$(PkgMicrosoft_DiaSymReader_Native)/runtimes/win/native/Microsoft.DiaSymReader.Native.$(_diaSymTargetArch).dll - - - - - - - - - - - - /// Slices the specified array using the specified range. /// +#if NET6_0_OR_GREATER + [System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ArrayCreateInstance", "IL3050:RequiresDynamicCode", + Justification = @"The RequiresDynamicCode warning is about Array.CreateInstance. However, we must have + preserved the code to create a U : T array, if the incoming array is U : T.")] +#endif public static T[] GetSubArray(T[] array, Range range) { if (array == null) From 800b2d3c52543e494cc2c8197714c2b11457e976 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Mon, 28 Feb 2022 01:08:01 -0800 Subject: [PATCH 03/32] Remove debugging property --- src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj index c1fdc4fe59639b..6179b1763521f6 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj @@ -8,7 +8,6 @@ true true - false @@ -31,6 +30,7 @@ $(CoreCLRILCompilerDir)netstandard/ILCompiler.Build.Tasks.dll $(CoreCLRAotSdkDir) $(MicrosoftNetCoreAppRuntimePackRidLibTfmDir) + $(MicrosoftNetCoreAppRuntimePackNativeDir) false From 2509e2f557eb6d2107aaea84f71167ba611aa875 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 2 Mar 2022 02:40:09 -0800 Subject: [PATCH 04/32] Use CoreCLRArtifactsPath from liveBuild --- src/coreclr/tools/aot/ILCompiler/ILCompiler.props | 4 ++-- src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj | 2 +- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 7 ++++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/coreclr/tools/aot/ILCompiler/ILCompiler.props b/src/coreclr/tools/aot/ILCompiler/ILCompiler.props index 936823572cb95c..9c47a14c954888 100644 --- a/src/coreclr/tools/aot/ILCompiler/ILCompiler.props +++ b/src/coreclr/tools/aot/ILCompiler/ILCompiler.props @@ -123,13 +123,13 @@ - - $(CoreCLRILCompilerDir)netstandard/ILCompiler.Build.Tasks.dll $(CoreCLRAotSdkDir) $(MicrosoftNetCoreAppRuntimePackRidLibTfmDir) - $(MicrosoftNetCoreAppRuntimePackNativeDir) + $(MicrosoftNetCoreAppRuntimePackNativeDir) false diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 58e3fd3de43833..a511447d6caf57 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -1,5 +1,5 @@ - + true @@ -60,6 +60,10 @@ + + + + + From 6a1c6ff282ba47c6e0ad00d044964fcc55e0926a Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 2 Mar 2022 20:53:22 -0800 Subject: [PATCH 05/32] Fold crossgen_publish into crossgen --- .../tools/aot/ILCompiler/ILCompiler.props | 2 + .../tools/aot/crossgen2/crossgen2.csproj | 34 +++++++++++++++-- .../aot/crossgen2/crossgen2_publish.csproj | 37 ------------------- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 7 +++- 4 files changed, 38 insertions(+), 42 deletions(-) diff --git a/src/coreclr/tools/aot/ILCompiler/ILCompiler.props b/src/coreclr/tools/aot/ILCompiler/ILCompiler.props index 9c47a14c954888..61b23fd75d112a 100644 --- a/src/coreclr/tools/aot/ILCompiler/ILCompiler.props +++ b/src/coreclr/tools/aot/ILCompiler/ILCompiler.props @@ -120,6 +120,8 @@ $(TargetOSComponent)_$(TargetArchitectureForLocalJitBuild)_$(TargetArchitectureForSharedLibraries) $(LibPrefix)jitinterface_$(TargetArchitectureForSharedLibraries)$(LibSuffix) + + $(RuntimeBinDir)$(CrossHostArch) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 7959568995ac49..2f6606a8dfaba5 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -1,9 +1,37 @@ $(RuntimeBinDir)/crossgen2 - - true - $(Crossgen2PackageRID) + + true + + + + + true + + false + + false + true + + + + $(CoreCLRILCompilerDir) + $(CoreCLRCrossILCompilerDir) + clang-9 + $(ROOTFS_DIR) + $(CoreCLRILCompilerDir)netstandard/ILCompiler.Build.Tasks.dll + $(CoreCLRAotSdkDir) + $(MicrosoftNetCoreAppRuntimePackRidLibTfmDir) + $(MicrosoftNetCoreAppRuntimePackNativeDir) + false + + + true + + + diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj index aae8c737b9faa1..bc607aba0c9316 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj @@ -2,43 +2,6 @@ - - $(RuntimeBinDir)crossgen2 - $(Crossgen2PackageRID) - true - - true - - - - - - true - - false - - false - true - - - - $(CoreCLRILCompilerDir) - $(CoreCLRCrossILCompilerDir) - clang-9 - $(ROOTFS_DIR) - $(CoreCLRILCompilerDir)netstandard/ILCompiler.Build.Tasks.dll - $(CoreCLRAotSdkDir) - $(MicrosoftNetCoreAppRuntimePackRidLibTfmDir) - $(MicrosoftNetCoreAppRuntimePackNativeDir) - false - - - true - - - - - diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index a511447d6caf57..369d4cb28635b9 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -19,8 +19,11 @@ - + + + From bdc00429516965344078f7816fe615f40425b524 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 2 Mar 2022 22:11:31 -0800 Subject: [PATCH 06/32] Try to refactor targets --- src/coreclr/tools/aot/crossgen2/crossgen2.csproj | 11 ++++++++--- .../tools/aot/crossgen2/crossgen2_publish.csproj | 7 ------- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 5 +++-- 3 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 2f6606a8dfaba5..7717e5721086c5 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -1,12 +1,15 @@ - + + + + $(RuntimeBinDir)/crossgen2 true + linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64;win-arm - true @@ -17,6 +20,8 @@ true + + $(CoreCLRILCompilerDir) $(CoreCLRCrossILCompilerDir) @@ -29,7 +34,7 @@ false - true + true - - - - - - diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 369d4cb28635b9..de25a9bfe03456 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -17,12 +17,13 @@ false + + - From b4b7721cd98369023ec2de16346dd93992662483 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Thu, 3 Mar 2022 17:09:39 -0800 Subject: [PATCH 07/32] Remove special PublishToDisk impl --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index de25a9bfe03456..41b88a09c5255e 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -66,8 +66,6 @@ - - Date: Thu, 3 Mar 2022 21:28:49 -0800 Subject: [PATCH 08/32] Call restore in installer --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 41b88a09c5255e..f19b86ec53e9fb 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -24,7 +24,7 @@ + Targets="Restore;Publish;PublishItemsOutputGroup"> From 449fbf425612578a7447b175100d19fc305d5e6c Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Thu, 3 Mar 2022 22:33:39 -0800 Subject: [PATCH 09/32] Hook more properties for installer partition --- src/coreclr/tools/aot/crossgen2/crossgen2.csproj | 1 + src/coreclr/tools/aot/crossgen2/crossgen2.props | 5 +++-- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 7717e5721086c5..9dcde7686d8c37 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -39,4 +39,5 @@ + diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.props b/src/coreclr/tools/aot/crossgen2/crossgen2.props index a0d31077248d59..9d6cb769996c5c 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.props +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.props @@ -68,16 +68,17 @@ $(TargetOSComponent)_$(TargetArchitectureForLocalJitBuild)_$(TargetArchitectureForSharedLibraries) $(LibPrefix)jitinterface_$(TargetArchitectureForSharedLibraries)$(LibSuffix) + $(RuntimeBinDir)$(CrossHostArch) - - From c3b6fbac9b5a56bb47a44dd6ea857f0567c1ae95 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Fri, 4 Mar 2022 00:30:46 -0800 Subject: [PATCH 10/32] Use diasymreader copy from artifacts when publishing --- src/coreclr/tools/aot/crossgen2/crossgen2.props | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.props b/src/coreclr/tools/aot/crossgen2/crossgen2.props index 9d6cb769996c5c..0f69a178d1c3cc 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.props +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.props @@ -105,7 +105,9 @@ $(TargetArchitectureForSharedLibraries) amd64 Microsoft.DiaSymReader.Native.$(DiaSymReaderTargetArch).dll - $(PkgMicrosoft_DiaSymReader_Native)\runtimes\win\native\$(DiaSymReaderTargetArchFileName) + $(PkgMicrosoft_DiaSymReader_Native)\runtimes\win\native\$(DiaSymReaderTargetArchFileName) + + $(CoreCLRArtifactsPath)crossgen2/$(DiaSymReaderTargetArchFileName) From e2106954c0a72ddbc7bba3a112dec1382a459adb Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Fri, 4 Mar 2022 14:05:28 -0800 Subject: [PATCH 11/32] Fix Linux packaging --- src/coreclr/tools/aot/crossgen2/crossgen2.csproj | 2 +- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 9dcde7686d8c37..89c08444281163 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -3,7 +3,7 @@ - $(RuntimeBinDir)/crossgen2 + $(RuntimeBinDir)crossgen2 true linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64;win-arm diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 6689e922863b65..1c6695f5a67c73 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -1,4 +1,5 @@ - + + @@ -66,6 +67,7 @@ + From 69ae018242e3246abdaba8d29a5e84be68484d7a Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Fri, 4 Mar 2022 23:23:56 -0800 Subject: [PATCH 12/32] Include netfx facades in the crossgen toolpack --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 1c6695f5a67c73..3c0001dd8c4d33 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -15,9 +15,13 @@ false tools/ true - false + + + + + Date: Fri, 11 Mar 2022 13:03:03 -0800 Subject: [PATCH 13/32] Disable crossgen package building on freebsd --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 3c0001dd8c4d33..0306633b9ab8f2 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -3,7 +3,8 @@ - true + + true ToolPack $(SharedFrameworkName).Crossgen2 .PGO From 3fe8a1decca19d0684a7540c65a6fce4bcc12a9f Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Sat, 12 Mar 2022 01:29:47 -0800 Subject: [PATCH 14/32] Adjust R2R logic and skip verification of Windows assemblies on non-windows --- src/coreclr/tools/aot/crossgen2/crossgen2.csproj | 1 + .../Microsoft.NETCore.App.Crossgen2.sfxproj | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 89c08444281163..2237ab2a3bd873 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -37,6 +37,7 @@ true + diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 0306633b9ab8f2..17448faaedf567 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -19,11 +19,18 @@ - + - - + + + + + + + + + @@ -31,7 +38,8 @@ From 4c3f31aed2d383fa4894bd57ae1ad7f731b6795c Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Sat, 12 Mar 2022 21:56:25 -0800 Subject: [PATCH 15/32] Move conditional exclusion just to WindowsDesktop libraries --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 17448faaedf567..5a84aee706c38b 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -22,8 +22,8 @@ - - + + From 07c2f6c0fbbee6e208ea8a693e1a94d8e81c69ef Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Sat, 12 Mar 2022 23:08:20 -0800 Subject: [PATCH 16/32] Also include windows desktop --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 5a84aee706c38b..e4af57de8826d9 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -23,7 +23,7 @@ - + From f2f45e6b9b60cae835201f657ae9601f95cce0b7 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Sun, 13 Mar 2022 13:10:59 -0700 Subject: [PATCH 17/32] Always build pre-test for source build as well --- eng/Subsets.props | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eng/Subsets.props b/eng/Subsets.props index 1213b5407e96f1..dc824a5321bb78 100644 --- a/eng/Subsets.props +++ b/eng/Subsets.props @@ -71,8 +71,7 @@ libs.native+ - $(DefaultLibrariesSubsets)libs.sfx+libs.oob - $(DefaultLibrariesSubsets)+libs.pretest + $(DefaultLibrariesSubsets)libs.sfx+libs.oob+libs.pretest host.native+host.tools $(DefaultHostSubsets)+host.pkg+host.tests From 35fa89a38a0560299e79155b9af3474ef45c2ec6 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Tue, 15 Mar 2022 01:52:16 -0700 Subject: [PATCH 18/32] Use the coreclr centos version for sourcebuild since it has NativeAOT prereqs (OpenSSL headers) --- eng/pipelines/common/platform-matrix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/common/platform-matrix.yml b/eng/pipelines/common/platform-matrix.yml index 22fa0be43584d6..fbce72ae50864d 100644 --- a/eng/pipelines/common/platform-matrix.yml +++ b/eng/pipelines/common/platform-matrix.yml @@ -252,7 +252,7 @@ jobs: targetRid: linux-x64 platform: Linux_x64 container: - image: centos-7-source-build-20210714125450-5d87b80 + image: centos-7-20210714125435-9b5bbc2 registry: mcr jobParameters: runtimeFlavor: ${{ parameters.runtimeFlavor }} From 5a8df96cc80417ebf4a71c3502239a32758753b6 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Tue, 15 Mar 2022 10:36:41 -0700 Subject: [PATCH 19/32] Revert "Use the coreclr centos version for sourcebuild since it has NativeAOT prereqs (OpenSSL headers)" This reverts commit 35fa89a38a0560299e79155b9af3474ef45c2ec6. --- eng/pipelines/common/platform-matrix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/common/platform-matrix.yml b/eng/pipelines/common/platform-matrix.yml index fbce72ae50864d..22fa0be43584d6 100644 --- a/eng/pipelines/common/platform-matrix.yml +++ b/eng/pipelines/common/platform-matrix.yml @@ -252,7 +252,7 @@ jobs: targetRid: linux-x64 platform: Linux_x64 container: - image: centos-7-20210714125435-9b5bbc2 + image: centos-7-source-build-20210714125450-5d87b80 registry: mcr jobParameters: runtimeFlavor: ${{ parameters.runtimeFlavor }} From 497836ec1f0e3462cc7414e0c6e54c340dcacccd Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Tue, 15 Mar 2022 10:37:03 -0700 Subject: [PATCH 20/32] Add -lssl -lcrypto to NativeAOT linking on Unix --- .../BuildIntegration/Microsoft.NETCore.Native.Unix.props | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props index ab8a85f74668a2..fc120350d50a6c 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props @@ -88,6 +88,7 @@ The .NET Foundation licenses this file to you under the MIT license. + From acb5fd513698e646f916d1cfc5faeb07a5f618bb Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 16 Mar 2022 01:00:58 -0700 Subject: [PATCH 21/32] Add testing step after publish --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index e4af57de8826d9..5cde0b0bda2cd7 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -56,12 +56,22 @@ - + + + + + + + + + unix win From 9290f873507746e24b74694725ca366646d38fa8 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Fri, 18 Mar 2022 12:57:27 -0700 Subject: [PATCH 22/32] Include extension in check --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 5cde0b0bda2cd7..960fd2fd36c732 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -64,7 +64,7 @@ - From 94c45457fa57b6242a49a37290f19abe9a917000 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Fri, 18 Mar 2022 13:08:13 -0700 Subject: [PATCH 23/32] Disable NativeAOT use in source build --- .../BuildIntegration/Microsoft.NETCore.Native.Unix.props | 1 - src/coreclr/tools/aot/crossgen2/crossgen2.csproj | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props index fc120350d50a6c..ab8a85f74668a2 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props @@ -88,7 +88,6 @@ The .NET Foundation licenses this file to you under the MIT license. - diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 2237ab2a3bd873..d8f64bd1c24d4b 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -4,6 +4,8 @@ $(RuntimeBinDir)crossgen2 + + false true linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64;win-arm From 349dccc447914d15e2bf53951a0024af33012bec Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 23 Mar 2022 01:26:30 -0700 Subject: [PATCH 24/32] Use OS and arch check instead of CrossBuild flag --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 960fd2fd36c732..13b555f873005f 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -62,7 +62,8 @@ - + From 6333ee43c5b3738dd0a3dc825c7ab2d999b63438 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Fri, 25 Mar 2022 10:40:28 -0700 Subject: [PATCH 25/32] Respond to PR comments and skip verifying closure --- .../SymbolReader/UnmanagedPdbSymbolReader.cs | 2 +- .../tools/aot/crossgen2/crossgen2.csproj | 1 + .../Microsoft.NETCore.App.Crossgen2.sfxproj | 18 +++--------------- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/src/coreclr/tools/Common/TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs b/src/coreclr/tools/Common/TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs index f6e5459a59f95d..f7a7074cca5ffd 100644 --- a/src/coreclr/tools/Common/TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs +++ b/src/coreclr/tools/Common/TypeSystem/Ecma/SymbolReader/UnmanagedPdbSymbolReader.cs @@ -25,7 +25,7 @@ namespace Internal.TypeSystem.Ecma /// public abstract class UnmanagedPdbSymbolReader : PdbSymbolReader { - public static PdbSymbolReader TryOpenSymbolReaderForMetadataFile(string metadataFileName, string searchPath) + public static PdbSymbolReader? TryOpenSymbolReaderForMetadataFile(string metadataFileName, string searchPath) { return null; } diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index d8f64bd1c24d4b..7dce96f0c5def7 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -14,6 +14,7 @@ + true true false diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 13b555f873005f..0a11a30d0e6f7a 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -4,7 +4,7 @@ - true + true ToolPack $(SharedFrameworkName).Crossgen2 .PGO @@ -16,22 +16,10 @@ false tools/ true + + false - - - - - - - - - - - - - - From a8e28d0e73af28d41fbca5ffe66dd9bc7510dc32 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Mon, 28 Mar 2022 23:39:29 -0700 Subject: [PATCH 26/32] Respond to PR comments --- eng/testing/tests.singlefile.targets | 2 -- src/coreclr/tools/aot/crossgen2/crossgen2.props | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets index e5f12a683a9f79..f95e1957de028f 100644 --- a/eng/testing/tests.singlefile.targets +++ b/eng/testing/tests.singlefile.targets @@ -16,8 +16,6 @@ true true true - $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'coreclr', '$(TargetOS).$(TargetArchitecture).$(Configuration)', 'corehost'))/singlefilehost - $(SingleFileHostSourcePath).exe diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.props b/src/coreclr/tools/aot/crossgen2/crossgen2.props index 0f69a178d1c3cc..d544530d81378e 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.props +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.props @@ -68,6 +68,7 @@ $(TargetOSComponent)_$(TargetArchitectureForLocalJitBuild)_$(TargetArchitectureForSharedLibraries) $(LibPrefix)jitinterface_$(TargetArchitectureForSharedLibraries)$(LibSuffix) + $(RuntimeBinDir)$(CrossHostArch) From 4445b93d09ef08da55086f2e17be7a9c9bd19286 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Tue, 29 Mar 2022 17:32:45 -0700 Subject: [PATCH 27/32] Set Configuration in sfxproj --- src/coreclr/Directory.Build.props | 6 +++--- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/coreclr/Directory.Build.props b/src/coreclr/Directory.Build.props index 364f6d01582f19..dd4849e9b861c6 100644 --- a/src/coreclr/Directory.Build.props +++ b/src/coreclr/Directory.Build.props @@ -17,10 +17,10 @@ true $([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', 'coreclr', '$(MSBuildProjectName)')) $([MSBuild]::NormalizeDirectory('$(ArtifactsObjDir)', 'coreclr', 'nativeaot', '$(MSBuildProjectName)')) - $(BaseIntermediateOutputPath)$(RuntimeConfiguration)\ - $(BaseIntermediateOutputPath)$(PlatformName)\$(RuntimeConfiguration)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ $(MSBuildThisFileDirectory) - $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'coreclr', '$(TargetOS).$(TargetArchitecture).$(RuntimeConfiguration)')) + $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'coreclr', '$(TargetOS).$(TargetArchitecture).$(Configuration)')) false false diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 0a11a30d0e6f7a..57cefebda764e3 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -27,7 +27,8 @@ Properties="RunningPublish=true ;RuntimeIdentifier=$(RuntimeIdentifier) ;CoreCLRArtifactsPath=$(CoreCLRArtifactsPath) - ;R2ROverridePath=$(MSBuildThisFileDirectory)ReadyToRun.targets" + ;R2ROverridePath=$(MSBuildThisFileDirectory)ReadyToRun.targets + ;Configuration=$(RuntimeConfiguration)" Targets="Restore;Publish;PublishItemsOutputGroup"> From ff7c339f7688c761404eed200a224fb5c668f711 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 30 Mar 2022 00:32:36 -0700 Subject: [PATCH 28/32] Remove Configuration set from sfxproj --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 57cefebda764e3..0a11a30d0e6f7a 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -27,8 +27,7 @@ Properties="RunningPublish=true ;RuntimeIdentifier=$(RuntimeIdentifier) ;CoreCLRArtifactsPath=$(CoreCLRArtifactsPath) - ;R2ROverridePath=$(MSBuildThisFileDirectory)ReadyToRun.targets - ;Configuration=$(RuntimeConfiguration)" + ;R2ROverridePath=$(MSBuildThisFileDirectory)ReadyToRun.targets" Targets="Restore;Publish;PublishItemsOutputGroup"> From 1e111f5a963cda00ccf7f8757c4ba06a5f9a1f46 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 30 Mar 2022 19:51:23 -0700 Subject: [PATCH 29/32] Disable NativeAOT for MacOS --- src/coreclr/tools/aot/crossgen2/crossgen2.csproj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 7dce96f0c5def7..eae4b097b624b2 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -4,8 +4,9 @@ $(RuntimeBinDir)crossgen2 - - false + + false true linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64;win-arm From 8553fee922a0516a32bdf5b41a2c5ceb79b84808 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 30 Mar 2022 21:48:18 -0700 Subject: [PATCH 30/32] Work around MacOS problem with single-file --- src/coreclr/tools/aot/crossgen2/crossgen2.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index eae4b097b624b2..45dcfbbadd9115 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -15,7 +15,7 @@ - true + true true false From d8eeb9e5e4898491b0f806633f3749a40db5f11d Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Thu, 31 Mar 2022 01:07:40 -0700 Subject: [PATCH 31/32] re-enable single-file --- src/coreclr/tools/aot/crossgen2/crossgen2.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 45dcfbbadd9115..eae4b097b624b2 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -15,7 +15,7 @@ - true + true true false From f682eae22e7d2938ec78e73384521d0659f0ebe6 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Thu, 31 Mar 2022 16:17:40 -0700 Subject: [PATCH 32/32] Copy over the S.P.C from the coreclr partition to ensure matching bits --- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj index 0a11a30d0e6f7a..8841f1ab9b3b7a 100644 --- a/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj +++ b/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Crossgen2.sfxproj @@ -23,6 +23,12 @@ + + +