mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
Bump go version in documentation (#15979)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
This commit is contained in:
parent
a3a29fed06
commit
d4ad785b76
@ -55,14 +55,14 @@ Here's a list of verified OS types where Milvus can successfully build and run:
|
|||||||
#### Prerequisites
|
#### Prerequisites
|
||||||
Linux systems (Recommend Ubuntu 18.04 or later):
|
Linux systems (Recommend Ubuntu 18.04 or later):
|
||||||
```bash
|
```bash
|
||||||
go: >= 1.15
|
go: >= 1.16
|
||||||
cmake: >= 3.18
|
cmake: >= 3.18
|
||||||
gcc: 7.5
|
gcc: 7.5
|
||||||
```
|
```
|
||||||
|
|
||||||
MacOS systems with x86_64 (Big Sur 11.5 or later recommended):
|
MacOS systems with x86_64 (Big Sur 11.5 or later recommended):
|
||||||
```bash
|
```bash
|
||||||
go: >= 1.15
|
go: >= 1.16
|
||||||
cmake: >= 3.18
|
cmake: >= 3.18
|
||||||
llvm: >= 12
|
llvm: >= 12
|
||||||
```
|
```
|
||||||
@ -112,7 +112,7 @@ Confirm that your `GOPATH` and `GOBIN` environment variables are correctly set a
|
|||||||
```shell
|
```shell
|
||||||
$ go version
|
$ go version
|
||||||
```
|
```
|
||||||
Note: go >= 1.15 is required to build Milvus.
|
Note: go >= 1.16 is required to build Milvus.
|
||||||
|
|
||||||
#### Docker & Docker Compose
|
#### Docker & Docker Compose
|
||||||
|
|
||||||
@ -280,4 +280,4 @@ A: Use **Software Update** (from **About this Mac** -> **Overview**) to install
|
|||||||
---
|
---
|
||||||
Q: Some Go unit tests failed.
|
Q: Some Go unit tests failed.
|
||||||
|
|
||||||
A: We are aware that some tests can be flaky occasionally. If there's something you believe is abnormal (i.e. tests that fail every single time). You are more than welcome to [file an issue](https://github.com/milvus-io/milvus/issues/new/choose)!
|
A: We are aware that some tests can be flaky occasionally. If there's something you believe is abnormal (i.e. tests that fail every single time). You are more than welcome to [file an issue](https://github.com/milvus-io/milvus/issues/new/choose)!
|
||||||
|
|||||||
@ -71,14 +71,14 @@ Check the requirements first.
|
|||||||
|
|
||||||
Linux systems (Ubuntu 18.04 or later recommended):
|
Linux systems (Ubuntu 18.04 or later recommended):
|
||||||
```bash
|
```bash
|
||||||
go: >= 1.15
|
go: >= 1.16
|
||||||
cmake: >= 3.18
|
cmake: >= 3.18
|
||||||
gcc: 7.5
|
gcc: 7.5
|
||||||
```
|
```
|
||||||
|
|
||||||
MacOS systems with x86_64 (Big Sur 11.5 or later recommended):
|
MacOS systems with x86_64 (Big Sur 11.5 or later recommended):
|
||||||
```bash
|
```bash
|
||||||
go: >= 1.15
|
go: >= 1.16
|
||||||
cmake: >= 3.18
|
cmake: >= 3.18
|
||||||
llvm: >= 12
|
llvm: >= 12
|
||||||
```
|
```
|
||||||
|
|||||||
@ -68,7 +68,7 @@ Milvus 基于 [Apache 2.0 License](https://github.com/milvus-io/milvus/blob/mast
|
|||||||
请先安装相关依赖。
|
请先安装相关依赖。
|
||||||
|
|
||||||
```
|
```
|
||||||
go: 1.15
|
go: 1.16
|
||||||
cmake: >=3.18
|
cmake: >=3.18
|
||||||
gcc: 7.5
|
gcc: 7.5
|
||||||
protobuf: >=3.7
|
protobuf: >=3.7
|
||||||
|
|||||||
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
|||||||
module github.com/milvus-io/milvus
|
module github.com/milvus-io/milvus
|
||||||
|
|
||||||
go 1.15
|
go 1.16
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/HdrHistogram/hdrhistogram-go v1.0.1 // indirect
|
github.com/HdrHistogram/hdrhistogram-go v1.0.1 // indirect
|
||||||
|
|||||||
@ -42,7 +42,7 @@ func TestBaseComponentInfos_Codec(t *testing.T) {
|
|||||||
DeployMode: ClusterDeployMode,
|
DeployMode: ClusterDeployMode,
|
||||||
BuildVersion: "2.0.0-rc8",
|
BuildVersion: "2.0.0-rc8",
|
||||||
BuildTime: "2021-11-24, 11:37:25",
|
BuildTime: "2021-11-24, 11:37:25",
|
||||||
UsedGoVersion: "go version go1.15.2 linux/amd64",
|
UsedGoVersion: "go version go1.16.9 linux/amd64",
|
||||||
},
|
},
|
||||||
CreatedTime: time.Now().String(),
|
CreatedTime: time.Now().String(),
|
||||||
UpdatedTime: time.Now().String(),
|
UpdatedTime: time.Now().String(),
|
||||||
@ -79,7 +79,7 @@ func TestQueryNodeInfos_Codec(t *testing.T) {
|
|||||||
DeployMode: ClusterDeployMode,
|
DeployMode: ClusterDeployMode,
|
||||||
BuildVersion: "2.0.0-rc8",
|
BuildVersion: "2.0.0-rc8",
|
||||||
BuildTime: "2021-11-24, 11:37:25",
|
BuildTime: "2021-11-24, 11:37:25",
|
||||||
UsedGoVersion: "go version go1.15.2 linux/amd64",
|
UsedGoVersion: "go version go1.16.9 linux/amd64",
|
||||||
},
|
},
|
||||||
CreatedTime: time.Now().String(),
|
CreatedTime: time.Now().String(),
|
||||||
UpdatedTime: time.Now().String(),
|
UpdatedTime: time.Now().String(),
|
||||||
@ -127,7 +127,7 @@ func TestQueryCoordInfos_Codec(t *testing.T) {
|
|||||||
DeployMode: ClusterDeployMode,
|
DeployMode: ClusterDeployMode,
|
||||||
BuildVersion: "2.0.0-rc8",
|
BuildVersion: "2.0.0-rc8",
|
||||||
BuildTime: "2021-11-24, 11:37:25",
|
BuildTime: "2021-11-24, 11:37:25",
|
||||||
UsedGoVersion: "go version go1.15.2 linux/amd64",
|
UsedGoVersion: "go version go1.16.9 linux/amd64",
|
||||||
},
|
},
|
||||||
CreatedTime: time.Now().String(),
|
CreatedTime: time.Now().String(),
|
||||||
UpdatedTime: time.Now().String(),
|
UpdatedTime: time.Now().String(),
|
||||||
@ -169,7 +169,7 @@ func TestIndexNodeInfos_Codec(t *testing.T) {
|
|||||||
DeployMode: ClusterDeployMode,
|
DeployMode: ClusterDeployMode,
|
||||||
BuildVersion: "2.0.0-rc8",
|
BuildVersion: "2.0.0-rc8",
|
||||||
BuildTime: "2021-11-24, 11:37:25",
|
BuildTime: "2021-11-24, 11:37:25",
|
||||||
UsedGoVersion: "go version go1.15.2 linux/amd64",
|
UsedGoVersion: "go version go1.16.9 linux/amd64",
|
||||||
},
|
},
|
||||||
CreatedTime: time.Now().String(),
|
CreatedTime: time.Now().String(),
|
||||||
UpdatedTime: time.Now().String(),
|
UpdatedTime: time.Now().String(),
|
||||||
@ -212,7 +212,7 @@ func TestIndexCoordInfos_Codec(t *testing.T) {
|
|||||||
DeployMode: ClusterDeployMode,
|
DeployMode: ClusterDeployMode,
|
||||||
BuildVersion: "2.0.0-rc8",
|
BuildVersion: "2.0.0-rc8",
|
||||||
BuildTime: "2021-11-24, 11:37:25",
|
BuildTime: "2021-11-24, 11:37:25",
|
||||||
UsedGoVersion: "go version go1.15.2 linux/amd64",
|
UsedGoVersion: "go version go1.16.9 linux/amd64",
|
||||||
},
|
},
|
||||||
CreatedTime: time.Now().String(),
|
CreatedTime: time.Now().String(),
|
||||||
UpdatedTime: time.Now().String(),
|
UpdatedTime: time.Now().String(),
|
||||||
@ -253,7 +253,7 @@ func TestDataNodeInfos_Codec(t *testing.T) {
|
|||||||
DeployMode: ClusterDeployMode,
|
DeployMode: ClusterDeployMode,
|
||||||
BuildVersion: "2.0.0-rc8",
|
BuildVersion: "2.0.0-rc8",
|
||||||
BuildTime: "2021-11-24, 11:37:25",
|
BuildTime: "2021-11-24, 11:37:25",
|
||||||
UsedGoVersion: "go version go1.15.2 linux/amd64",
|
UsedGoVersion: "go version go1.16.9 linux/amd64",
|
||||||
},
|
},
|
||||||
CreatedTime: time.Now().String(),
|
CreatedTime: time.Now().String(),
|
||||||
UpdatedTime: time.Now().String(),
|
UpdatedTime: time.Now().String(),
|
||||||
@ -294,7 +294,7 @@ func TestDataCoordInfos_Codec(t *testing.T) {
|
|||||||
DeployMode: ClusterDeployMode,
|
DeployMode: ClusterDeployMode,
|
||||||
BuildVersion: "2.0.0-rc8",
|
BuildVersion: "2.0.0-rc8",
|
||||||
BuildTime: "2021-11-24, 11:37:25",
|
BuildTime: "2021-11-24, 11:37:25",
|
||||||
UsedGoVersion: "go version go1.15.2 linux/amd64",
|
UsedGoVersion: "go version go1.16.9 linux/amd64",
|
||||||
},
|
},
|
||||||
CreatedTime: time.Now().String(),
|
CreatedTime: time.Now().String(),
|
||||||
UpdatedTime: time.Now().String(),
|
UpdatedTime: time.Now().String(),
|
||||||
@ -335,7 +335,7 @@ func TestRootCoordInfos_Codec(t *testing.T) {
|
|||||||
DeployMode: ClusterDeployMode,
|
DeployMode: ClusterDeployMode,
|
||||||
BuildVersion: "2.0.0-rc8",
|
BuildVersion: "2.0.0-rc8",
|
||||||
BuildTime: "2021-11-24, 11:37:25",
|
BuildTime: "2021-11-24, 11:37:25",
|
||||||
UsedGoVersion: "go version go1.15.2 linux/amd64",
|
UsedGoVersion: "go version go1.16.9 linux/amd64",
|
||||||
},
|
},
|
||||||
CreatedTime: time.Now().String(),
|
CreatedTime: time.Now().String(),
|
||||||
UpdatedTime: time.Now().String(),
|
UpdatedTime: time.Now().String(),
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
```
|
```
|
||||||
OS: Ubuntu 18.04
|
OS: Ubuntu 18.04
|
||||||
go:1.15
|
go:1.16
|
||||||
cmake: >=3.18
|
cmake: >=3.18
|
||||||
gcc: 7.5
|
gcc: 7.5
|
||||||
```
|
```
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
module github.com/milvus-io/milvus/tools/check
|
module github.com/milvus-io/milvus/tools/check
|
||||||
|
|
||||||
go 1.15
|
go 1.16
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/fatih/color v1.10.0 // indirect
|
github.com/fatih/color v1.10.0 // indirect
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user