Skip to content

Commit c0a1d74

Browse files
authored
Merge pull request #154 from dotnet-campus/t/lindexi/LoongArch64
尝试支持龙芯的构建
2 parents b91ddc6 + 2ca48b6 commit c0a1d74

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

DebUOS/Packaging.DebUOS/Contexts/Configurations/DebUOSConfiguration.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,20 @@ public string Architecture
182182
{
183183
architecture = "arm64";
184184
}
185+
else if (RuntimeIdentifier == "linux-loongarch64")
186+
{
187+
architecture = "loongarch64";
188+
}
189+
//else if (RuntimeIdentifier == "linux-mips64el")
190+
//{
191+
// // 这个似乎 dotnet 是没有支持的,且我也没设备,先不写了。有需要的话,开发者自己加上 Architecture 就可以了
192+
// architecture = "mips64el";
193+
//}
194+
//else if (RuntimeIdentifier == "linux-sw_64")
195+
//{
196+
// // 这个似乎 dotnet 是没有支持的,且我也没设备
197+
// architecture = "sw_64";
198+
//}
185199
}
186200
return architecture ?? "amd64";
187201
}

0 commit comments

Comments
 (0)