File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 31
31
32
32
- name : Build
33
33
run : |
34
+ sudo apt-get update && sudo apt-get install -y musl-tools upx-ucl
35
+ export STATIC=1
34
36
make juicefs.linux
35
37
36
38
- name : Archives
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ juicefs.ceph: Makefile cmd/*.go pkg/*/*.go
34
34
# This is the script for compiling the Linux version on the MacOS platform.
35
35
# Please execute the `brew install FiloSottile/musl-cross/musl-cross` command before using it.
36
36
juicefs.linux :
37
- CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC=gcc CGO_LDFLAGS=" -static" go build -ldflags=" $( LDFLAGS) " -o juicefs .
37
+ CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC=x86_64-linux-musl- gcc CGO_LDFLAGS=" -static" go build -ldflags=" $( LDFLAGS) " -o juicefs .
38
38
39
39
/usr/local/include/winfsp :
40
40
sudo mkdir -p /usr/local/include/winfsp
You can’t perform that action at this time.
0 commit comments