This commit is contained in:
luoliangyi 2023-09-01 15:13:34 +08:00
parent 458a30d2b8
commit 688bca467c
1 changed files with 7 additions and 0 deletions

View File

@ -173,6 +173,10 @@ elif [ "$cpu" == "loongarch64" ];
then then
dpkgarch="loongarch64" dpkgarch="loongarch64"
libpath="loongarch64-linux-gnu" libpath="loongarch64-linux-gnu"
elif [ "$cpu" == "sw_64" ];
then
dpkgarch="sw_64"
libpath="sw_64-linux-gnu"
else else
echo "没有已知架构" echo "没有已知架构"
exit 1 exit 1
@ -337,6 +341,9 @@ then
elif [ "$cpu" == "loongarch64" ]; elif [ "$cpu" == "loongarch64" ];
then then
ver3=$[$ver3 + 4] ver3=$[$ver3 + 4]
elif [ "$cpu" == "sw_64" ];
then
ver3=$[$ver3 + 7]
fi fi
ver3=$[$ver3 * 100] ver3=$[$ver3 * 100]