Skip to content

Commit

Permalink
Merge pull request #154 from dotnet-campus/t/lindexi/LoongArch64
Browse files Browse the repository at this point in the history
尝试支持龙芯的构建
  • Loading branch information
walterlv authored Nov 11, 2024
2 parents b91ddc6 + 2ca48b6 commit c0a1d74
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,20 @@ public string Architecture
{
architecture = "arm64";
}
else if (RuntimeIdentifier == "linux-loongarch64")
{
architecture = "loongarch64";
}
//else if (RuntimeIdentifier == "linux-mips64el")
//{
// // 这个似乎 dotnet 是没有支持的,且我也没设备,先不写了。有需要的话,开发者自己加上 Architecture 就可以了
// architecture = "mips64el";
//}
//else if (RuntimeIdentifier == "linux-sw_64")
//{
// // 这个似乎 dotnet 是没有支持的,且我也没设备
// architecture = "sw_64";
//}
}
return architecture ?? "amd64";
}
Expand Down

0 comments on commit c0a1d74

Please sign in to comment.