Support build on LoongArch64 architecture#27108
Conversation
|
I'd love to see PowerShell runs on LoongArch, but is this architecture supported by .NET? I cannot find If it's not officially supported by .NET, I'm afraid we won't be able to accept this change, as there is no way for us to maintain it in future. |
LoongArch is currently classified as a "community-supported architecture" .NET. https://loongfans.cn/en/sdk#dotnet The issue though is indeed with Nupkg repository, but it is possible, as outlined in the link above.
|
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds LoongArch64 Linux runtime identifiers to the build/options runtime allowlists and extends native dependency cleanup logic to recognize LoongArch64 when determining DIA symbol filenames.
Changes:
- Add
linux-loongarch64andlinux-musl-loongarch64to runtime selection inStart-PSBuild. - Add the same runtimes to
New-PSOptionsruntime validation/allowed values. - Update
Clear-NativeDependenciesto map*-loongarch64runtimes to the correctdiasymfilename suffix.
PR Summary
LoongArch is a modern RISC CPU ISA developed by Loongson Technology. PowerShell can running on it with minimal modification, this PR add that minimal modification.
PR Context
See also: AOSC-Dev/aosc-os-abbs#15355
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header