mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Update build scripts
This commit is contained in:
parent
6f50032795
commit
5ec27681f9
3 changed files with 6 additions and 0 deletions
|
|
@ -18,10 +18,12 @@ export GO111MODULE=on
|
|||
export GOPROXY=https://goproxy.io
|
||||
export CGO_ENABLED=1
|
||||
|
||||
echo 'Building Kernel amd64'
|
||||
export GOOS=linux
|
||||
export GOARCH=amd64
|
||||
go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" .
|
||||
|
||||
echo 'Building Kernel arm64'
|
||||
export GOARCH=arm64
|
||||
export CC=~/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
|
||||
go build --tags fts5 -v -o "../app/kernel-linux-arm64/SiYuan-Kernel-arm64" -ldflags "-s -w" .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue