|
|
ccd8ec |
From 564e481e39511d214d0d26dd902022decd0d93ea Mon Sep 17 00:00:00 2001
|
|
|
ccd8ec |
From: Swapnali911 <Swapnali.Pawar1@ibm.com>
|
|
|
ccd8ec |
Date: Fri, 30 Sep 2022 05:07:55 -0400
|
|
|
ccd8ec |
Subject: [PATCH] Adding ppc64le arch for source build
|
|
|
ccd8ec |
|
|
|
ccd8ec |
---
|
|
|
ccd8ec |
Directory.Build.props | 1 +
|
|
|
ccd8ec |
src/SourceBuild/tarball/content/Directory.Build.props | 1 +
|
|
|
ccd8ec |
src/redist/targets/Crossgen.targets | 4 ++--
|
|
|
ccd8ec |
src/redist/targets/GenerateBundledVersions.targets | 9 ++++++---
|
|
|
ccd8ec |
4 files changed, 10 insertions(+), 5 deletions(-)
|
|
|
ccd8ec |
|
|
|
ccd8ec |
diff --git a/Directory.Build.props b/Directory.Build.props
|
|
|
ccd8ec |
index 61cc6ff6746..860785575f7 100644
|
|
|
ccd8ec |
--- a/Directory.Build.props
|
|
|
ccd8ec |
+++ b/Directory.Build.props
|
|
|
ccd8ec |
@@ -19,6 +19,7 @@
|
|
|
ccd8ec |
<BuildArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant())</BuildArchitecture>
|
|
|
ccd8ec |
<Platform Condition="'$(Platform)' == '' AND '$(BuildArchitecture)' == 'arm64'">$(BuildArchitecture)</Platform>
|
|
|
ccd8ec |
<Platform Condition="'$(Platform)' == '' AND '$(BuildArchitecture)' == 's390x'">$(BuildArchitecture)</Platform>
|
|
|
ccd8ec |
+ <Platform Condition="'$(Platform)' == '' AND '$(BuildArchitecture)' == 'ppc64le'">$(BuildArchitecture)</Platform>
|
|
|
ccd8ec |
<Platform Condition="'$(Platform)' == ''">x64</Platform>
|
|
|
ccd8ec |
|
|
|
ccd8ec |
<UseStableVersions Condition="'$(UseStableVersions)' == ''">false</UseStableVersions>
|
|
|
ccd8ec |
diff --git a/src/installer/Directory.Build.props b/src/installer/Directory.Build.props
|
|
|
ccd8ec |
index 15c9d27b734..b87eeccca0d 100644
|
|
|
ccd8ec |
--- a/src/installer/Directory.Build.props
|
|
|
ccd8ec |
+++ b/src/installer/Directory.Build.props
|
|
|
ccd8ec |
@@ -11,6 +11,7 @@
|
|
|
ccd8ec |
<BuildArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant())</BuildArchitecture>
|
|
|
ccd8ec |
<Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 'arm64'">$(BuildArchitecture)</Architecture>
|
|
|
ccd8ec |
<Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 's390x'">$(BuildArchitecture)</Architecture>
|
|
|
ccd8ec |
+ <Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 'ppc64le'">$(BuildArchitecture)</Architecture>
|
|
|
ccd8ec |
<Architecture Condition="'$(Architecture)' == ''">x64</Architecture>
|
|
|
ccd8ec |
</PropertyGroup>
|
|
|
ccd8ec |
<PropertyGroup Condition="'$(PgoInstrument)' == 'true'">
|
|
|
ccd8ec |
diff --git a/src/installer/src/redist/targets/Crossgen.targets b/src/installer/src/redist/targets/Crossgen.targets
|
|
|
ccd8ec |
index c7a7642e4eb..da7d186a152 100644
|
|
|
ccd8ec |
--- a/src/installer/src/redist/targets/Crossgen.targets
|
|
|
ccd8ec |
+++ b/src/installer/src/redist/targets/Crossgen.targets
|
|
|
ccd8ec |
@@ -1,7 +1,7 @@
|
|
|
ccd8ec |
<Project>
|
|
|
ccd8ec |
-
|
|
|
ccd8ec |
+
|
|
|
ccd8ec |
|
|
|
ccd8ec |
- Condition="'$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x'"
|
|
|
ccd8ec |
+ Condition="'$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le'"
|
|
|
ccd8ec |
DependsOnTargets="SetSdkBrandingInfo">
|
|
|
ccd8ec |
|
|
|
ccd8ec |
<PropertyGroup>
|
|
|
ccd8ec |
diff --git a/src/installer/src/redist/targets/GenerateBundledVersions.targets b/src/installer/src/redist/targets/GenerateBundledVersions.targets
|
|
|
ccd8ec |
index d1bee676355..58d1abfa720 100644
|
|
|
ccd8ec |
--- a/src/installer/src/redist/targets/GenerateBundledVersions.targets
|
|
|
ccd8ec |
+++ b/src/installer/src/redist/targets/GenerateBundledVersions.targets
|
|
|
ccd8ec |
@@ -168,6 +168,7 @@
|
|
|
ccd8ec |
linux-bionic-arm64;
|
|
|
ccd8ec |
linux-bionic-x64;
|
|
|
ccd8ec |
linux-bionic-x86;
|
|
|
ccd8ec |
+ linux-ppc64le;
|
|
|
ccd8ec |
"/>
|
|
|
ccd8ec |
|
|
|
ccd8ec |
|
|
|
ccd8ec |
@@ -176,6 +177,7 @@
|
|
|
ccd8ec |
linux-bionic-arm64;
|
|
|
ccd8ec |
linux-bionic-x64;
|
|
|
ccd8ec |
linux-bionic-x86;
|
|
|
ccd8ec |
+ linux-ppc64le;
|
|
|
ccd8ec |
" />
|
|
|
ccd8ec |
|
|
|
ccd8ec |
|
|
|
ccd8ec |
@@ -254,7 +256,8 @@
|
|
|
ccd8ec |
|
|
|
ccd8ec |
<AspNetCore31RuntimePackRids Include="@(AspNetCore30RuntimePackRids)" />
|
|
|
ccd8ec |
<AspNetCore50RuntimePackRids Include="@(AspNetCore31RuntimePackRids);linux-musl-arm;win-arm64" />
|
|
|
ccd8ec |
- <AspNetCoreRuntimePackRids Include="@(AspNetCore50RuntimePackRids);osx-arm64;linux-s390x" />
|
|
|
ccd8ec |
+ <AspNetCore60RuntimePackRids Include="@(AspNetCore50RuntimePackRids);osx-arm64;linux-s390x" />
|
|
|
ccd8ec |
+ <AspNetCore70RuntimePackRids Include="@(AspNetCore60RuntimePackRids);linux-ppc64le" />
|
|
|
ccd8ec |
|
|
|
ccd8ec |
<WindowsDesktop30RuntimePackRids Include="win-x64;win-x86" />
|
|
|
ccd8ec |
<WindowsDesktop31RuntimePackRids Include="@(WindowsDesktop30RuntimePackRids)" />
|
|
|
ccd8ec |
@@ -444,7 +447,7 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|
|
ccd8ec |
TargetingPackName="Microsoft.AspNetCore.App.Ref"
|
|
|
ccd8ec |
TargetingPackVersion="$(MicrosoftAspNetCoreAppRefPackageVersion)"
|
|
|
ccd8ec |
RuntimePackNamePatterns="Microsoft.AspNetCore.App.Runtime.**RID**"
|
|
|
ccd8ec |
- RuntimePackRuntimeIdentifiers="@(AspNetCoreRuntimePackRids, '%3B')"
|
|
|
ccd8ec |
+ RuntimePackRuntimeIdentifiers="@(AspNetCore70RuntimePackRids, '%3B')"
|
|
|
ccd8ec |
RuntimePackExcludedRuntimeIdentifiers="android"
|
|
|
ccd8ec |
/>
|
|
|
ccd8ec |
|
|
|
ccd8ec |
@@ -569,7 +572,7 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|
|
ccd8ec |
TargetingPackName="Microsoft.AspNetCore.App.Ref"
|
|
|
ccd8ec |
TargetingPackVersion="$(_AspNet60TargetingPackVersion)"
|
|
|
ccd8ec |
RuntimePackNamePatterns="Microsoft.AspNetCore.App.Runtime.**RID**"
|
|
|
ccd8ec |
- RuntimePackRuntimeIdentifiers="@(AspNetCoreRuntimePackRids, '%3B')"
|
|
|
ccd8ec |
+ RuntimePackRuntimeIdentifiers="@(AspNetCore60RuntimePackRids, '%3B')"
|
|
|
ccd8ec |
/>
|
|
|
ccd8ec |
|
|
|
ccd8ec |
|