sjqzhang / go-fastdfs

go-fastdfs 是一个简单的分布式文件系统(私有云存储),具有无中心、高性能,高可靠,免维护等优点,支持断点续传,分块上传,小文件合并,自动同步,自动修复。Go-fastdfs is a simple distributed file system (private cloud storage), with no center, high performance, high reliability, maintenance free and other advantages, support breakpoint continuation, block upload, small file merge, automatic synchronization, automatic repair.(similar fastdfs).
https://gitee.com/sjqzhang/go-fastdfs
The Unlicense
3.94k stars 747 forks source link

add build for linux-loong64. #363

Closed abner-chenc closed 2 years ago

abner-chenc commented 2 years ago

go get -d golang.org/x/sys@d48e67d0026122f55f22f0df396e7a51d2b20fb9 go mod tidy go mod vendor

Signed-off-by: chenguoqi chenguoqi@loongson.cn

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

abner-chenc commented 2 years ago

go version go1.19 linux/loong64 go test ./...

?       github.com/sjqzhang/go-fastdfs  [no test files]
?       github.com/sjqzhang/go-fastdfs/cmd/doc  [no test files]
?       github.com/sjqzhang/go-fastdfs/cmd/server   [no test files]
?       github.com/sjqzhang/go-fastdfs/cmd/version  [no test files]
ok      github.com/sjqzhang/go-fastdfs/doc  0.003s [no tests to run]
ok      github.com/sjqzhang/go-fastdfs/server   5.975s
sjqzhang commented 2 years ago
image

是需要特殊的版本才能编译么?

go version go1.15.15 linux/amd64

abner-chenc commented 2 years ago

是需要特殊的版本才能编译么? go version go1.15.15 linux/amd64

你好, Go1.19版本正式加入了LoongArch64的支持。 我测试用的社区1.19的版本, 操作系统用的https://github.com/sunhaiyong1978/CLFS-for-LoongArch 龙芯在这儿也提供了Go1.18的版本(http://www.loongnix.cn/zh/toolchain/Golang/

abner-chenc commented 2 years ago

感谢了哈