Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require Go 1.20+ to build #4334

Merged
merged 2 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/chaos/juicefs-csi-driver.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18-buster as builder
FROM golang:1.20-buster as builder

ARG GOPROXY
# refs/remotes/pull/3056/merge
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ['1.18', '1.19', '1.20', '1.21']
version: ['1.20', '1.21']
runs-on: ubuntu-20.04
steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion docs/en/deployment/hadoop_java_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ No matter which system environment the client is compiled for, the compiled JAR

Compilation depends on the following tools:

- [Go](https://golang.org) 1.18+
- [Go](https://golang.org) 1.20+
- JDK 8+
- [Maven](https://maven.apache.org) 3.3+
- Git
Expand Down
4 changes: 2 additions & 2 deletions docs/en/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ For users in China, in order to speed up the acquisition of Go modules, it is re

Compiling clients for Linux, macOS, BSD and other Unix-like systems requires the following dependencies:

- [Go](https://golang.org) 1.18+
- [Go](https://golang.org) 1.20+
- GCC 5.4+

1. Clone source code
Expand Down Expand Up @@ -296,7 +296,7 @@ Compiling clients for Linux, macOS, BSD and other Unix-like systems requires the
To compile the JuiceFS client on Windows system, the following dependencies need to be installed:

- [WinFsp](https://github.com/winfsp/winfsp)
- [Go](https://golang.org) 1.18+
- [Go](https://golang.org) 1.20+
- GCC 5.4+

Among them, WinFsp and Go can be downloaded and installed directly. GCC needs to use a version provided by a third party, which can use [MinGW-w64](https://www.mingw-w64.org) or [Cygwin](https://www.cygwin.com). Here we take MinGW-w64 as an example.
Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/how_to_set_up_object_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ sudo yum install librados2-devel
</TabItem>
</Tabs>

Then compile JuiceFS for Ceph (make sure you have Go 1.18+ and GCC 5.4+ installed):
Then compile JuiceFS for Ceph (make sure you have Go 1.20+ and GCC 5.4+ installed):

```bash
make juicefs.ceph
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_cn/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ CMD [ "juicefs" ]

编译面向 Linux、macOS、BSD 等类 Unix 系统的客户端需要满足以下依赖:

- [Go](https://golang.org) 1.18+
- [Go](https://golang.org) 1.20+
- GCC 5.4+

1. 克隆源码
Expand Down Expand Up @@ -294,7 +294,7 @@ CMD [ "juicefs" ]
在 Windows 系统编译 JuiceFS 客户端需要安装以下依赖:

- [WinFsp](https://github.com/winfsp/winfsp)
- [Go](https://golang.org) 1.18+
- [Go](https://golang.org) 1.20+
- GCC 5.4+

其中,WinFsp 和 Go 直接下载安装即可。GCC 需要使用第三方提供的版本,可以使用 [MinGW-w64](https://www.mingw-w64.org) 或 [Cygwin](https://www.cygwin.com),这里以 MinGW-w64 为例介绍。
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/reference/how_to_set_up_object_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ sudo yum install librados2-devel
</TabItem>
</Tabs>

然后为 Ceph 编译 JuiceFS(要求 Go 1.18+ 和 GCC 5.4+):
然后为 Ceph 编译 JuiceFS(要求 Go 1.20+ 和 GCC 5.4+):

```bash
make juicefs.ceph
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/juicedata/juicefs

go 1.18
go 1.20

require (
cloud.google.com/go/compute v1.7.0
Expand Down