Align riscv64 and loongarch64 checks (#19469)

This commit is contained in:
Adeel Mujahid 2024-04-15 11:32:47 +03:00 committed by GitHub
parent f3d6eeabad
commit 6754710a73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 5 deletions

View file

@ -7,6 +7,7 @@
<Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 's390x'">$(BuildArchitecture)</Architecture>
<Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 'ppc64le'">$(BuildArchitecture)</Architecture>
<Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 'loongarch64'">$(BuildArchitecture)</Architecture>
<Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 'riscv64'">$(BuildArchitecture)</Architecture>
<Architecture Condition="'$(Architecture)' == ''">x64</Architecture>
<!--

View file

@ -1,9 +1,8 @@
<Project>
<!-- Crossgen is currently not supported on the s390x, ppc64le architecture as using mono instead of CoreCLR.
Neither crossgen2 nor mono is supported on the loongarch64 architecture at present. -->
<!-- Crossgen is currently not supported on the s390x, ppc64le architecture as using mono instead of CoreCLR. -->
<Target Name="CrossgenLayout"
Condition="'$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le' AND '$(Architecture)' != 'loongarch64' AND !('$(CROSSBUILD)' == 'true' AND '$(DotNetBuild)' == 'true')"
Condition="'$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le' AND !('$(CROSSBUILD)' == 'true' AND '$(DotNetBuild)' == 'true')"
DependsOnTargets="SetSdkBrandingInfo">
<PropertyGroup>
<RuntimeNETCoreAppPackageName>microsoft.netcore.app.runtime.$(SharedFrameworkRid)</RuntimeNETCoreAppPackageName>

View file

@ -232,12 +232,14 @@
@(Net80AppHostRids);
linux-riscv64;
linux-musl-riscv64;
linux-musl-loongarch64;
" />
<Net90RuntimePackRids Include="
@(Net80RuntimePackRids);
linux-riscv64;
linux-musl-riscv64;
linux-musl-loongarch64
" />
<NetCoreAppHostRids Include="@(Net90AppHostRids)" />
@ -306,6 +308,8 @@
@(Net80MonoRuntimePackRids);
linux-riscv64;
linux-musl-riscv64;
linux-loongarch64;
linux-musl-loongarch64;
" />
<MonoRuntimePackRids Include="@(Net90MonoRuntimePackRids)" />
@ -350,7 +354,9 @@
<Net90Crossgen2SupportedRids Include="
@(Net80Crossgen2SupportedRids);
linux-riscv64;
linux-musl-riscv64
linux-musl-riscv64;
linux-loongarch64;
linux-musl-loongarch64;
" />
<Crossgen2SupportedRids Include="@(Net90Crossgen2SupportedRids);" />
@ -426,7 +432,7 @@
<AspNetCore70RuntimePackRids Include="@(AspNetCore60RuntimePackRids);linux-ppc64le" />
<AspNetCore80RuntimePackRids Include="@(AspNetCore70RuntimePackRids);freebsd-x64;freebsd-arm64" />
<AspNetCore80RuntimePackRids Remove="win-arm" />
<AspNetCore90RuntimePackRids Include="@(AspNetCore80RuntimePackRids);linux-riscv64;linux-musl-riscv64" />
<AspNetCore90RuntimePackRids Include="@(AspNetCore80RuntimePackRids);linux-riscv64;linux-musl-riscv64;linux-loongarch64;linux-musl-loongarch64;" />
<AspNetCoreRuntimePackRids Include="@(AspNetCore90RuntimePackRids)" />
<WindowsDesktop30RuntimePackRids Include="win-x64;win-x86" />