From 6a6caf3bb474e90233bf4c8adb1688536e7767b1 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Thu, 25 Jan 2024 21:41:37 -0800 Subject: [PATCH 1/2] Enable native AOT for non-portable crossgen2 - Add a breadcrumb for non-portable build into the Native AOT runtime pack - Use the breadcrumb to add system OpenSSL libs to the linker command line Contributes to #66859 --- src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj | 5 +++++ .../BuildIntegration/Microsoft.NETCore.Native.Unix.targets | 5 +++++ src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj | 2 -- .../Microsoft.NETCore.App.Crossgen2.sfxproj | 2 -- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj b/src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj index a70f6a4f801b6d..94c527953657b7 100644 --- a/src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj +++ b/src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj @@ -16,6 +16,11 @@ + + + diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index 19485ec753df50..1b38cbd3efa379 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -142,6 +142,11 @@ The .NET Foundation licenses this file to you under the MIT license. + + + + + diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj index 522561c9c8a366..984ca91f13a7dd 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj @@ -7,8 +7,6 @@ - - false 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 599adf5008634b..b36f9e956632ca 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 @@ -20,8 +20,6 @@ false false - - false From 5aa708417e1293f3572ce368f7fd6121dffcc7df Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 26 Jan 2024 09:45:15 -0800 Subject: [PATCH 2/2] FB --- .../nativeaot/BuildIntegration/BuildIntegration.proj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj b/src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj index 94c527953657b7..d631285448ee9e 100644 --- a/src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj +++ b/src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj @@ -15,12 +15,18 @@ + +