Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Support Linux arm64 https://github.com/siyuan-note/siyuan/issues/11566

Danielbaaec946eea5
diff --git a/scripts/linux-build.sh b/scripts/linux-build.sh
index 7357723365..91b8325591 100755
--- a/scripts/linux-build.sh
+++ b/scripts/linux-build.sh
@@ -25,7 +25,7 @@ go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w"
echo 'Building Kernel arm64'
export GOARCH=arm64
-export CC=~/llvm-mingw-20240518-ucrt-ubuntu-20.04-x86_64/bin/aarch64-w64-mingw32-gcc
+export CC=~/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
go build --tags fts5 -v -o "../app/kernel-linux-arm64/SiYuan-Kernel" -ldflags "-s -w" .
cd ..