mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 19:39:21 +08:00
parent
8a370f115a
commit
6f59510723
@ -1,5 +1,5 @@
|
||||
run:
|
||||
go: "1.18"
|
||||
go: "1.20"
|
||||
skip-dirs:
|
||||
- build
|
||||
- configs
|
||||
@ -158,3 +158,6 @@ issues:
|
||||
max-issues-per-linter: 0
|
||||
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
|
||||
max-same-issues: 0
|
||||
|
||||
service:
|
||||
golangci-lint-version: 1.51.0 # use the fixed version to not introduce new linters unexpectedly
|
||||
|
@ -61,7 +61,7 @@ Here's a list of verified OS types where Milvus can successfully build and run:
|
||||
Linux systems (Recommend Ubuntu 20.04 or later):
|
||||
|
||||
```bash
|
||||
go: >= 1.18
|
||||
go: >= 1.20
|
||||
cmake: >= 3.18
|
||||
gcc: 7.5
|
||||
```
|
||||
@ -69,7 +69,7 @@ gcc: 7.5
|
||||
MacOS systems with x86_64 (Big Sur 11.5 or later recommended):
|
||||
|
||||
```bash
|
||||
go: >= 1.18
|
||||
go: >= 1.20
|
||||
cmake: >= 3.18
|
||||
llvm: >= 15
|
||||
```
|
||||
@ -77,7 +77,7 @@ llvm: >= 15
|
||||
MacOS systems with Apple Silicon (Monterey 12.0.1 or later recommended):
|
||||
|
||||
```bash
|
||||
go: >= 1.18 (Arch=ARM64)
|
||||
go: >= 1.20 (Arch=ARM64)
|
||||
cmake: >= 3.18
|
||||
llvm: >= 15
|
||||
```
|
||||
@ -132,8 +132,7 @@ Confirm that your `GOPATH` and `GOBIN` environment variables are correctly set a
|
||||
```shell
|
||||
$ go version
|
||||
```
|
||||
|
||||
Note: go >= 1.18 is required to build Milvus.
|
||||
Note: go >= 1.20 is required to build Milvus.
|
||||
|
||||
#### Docker & Docker Compose
|
||||
|
||||
|
@ -72,21 +72,21 @@ Check the requirements first.
|
||||
|
||||
Linux systems (Ubuntu 20.04 or later recommended):
|
||||
```bash
|
||||
go: >= 1.18
|
||||
go: >= 1.20
|
||||
cmake: >= 3.18
|
||||
gcc: 7.5
|
||||
```
|
||||
|
||||
MacOS systems with x86_64 (Big Sur 11.5 or later recommended):
|
||||
```bash
|
||||
go: >= 1.18
|
||||
go: >= 1.20
|
||||
cmake: >= 3.18
|
||||
llvm: >= 15
|
||||
```
|
||||
|
||||
MacOS systems with Apple Silicon (Monterey 12.0.1 or later recommended):
|
||||
```bash
|
||||
go: >= 1.18 (Arch=ARM64)
|
||||
go: >= 1.20 (Arch=ARM64)
|
||||
cmake: >= 3.18
|
||||
llvm: >= 15
|
||||
```
|
||||
|
@ -68,7 +68,7 @@ Milvus 基于 [Apache 2.0 License](https://github.com/milvus-io/milvus/blob/mast
|
||||
请先安装相关依赖。
|
||||
|
||||
```
|
||||
go: 1.18
|
||||
go: 1.20
|
||||
cmake: >=3.18
|
||||
gcc: 7.5
|
||||
protobuf: >=3.7
|
||||
|
@ -1,2 +1,2 @@
|
||||
FROM golang:1.18.3-alpine3.16
|
||||
FROM golang:1.20.4-alpine3.17
|
||||
RUN apk add --no-cache make bash
|
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
||||
module github.com/milvus-io/milvus
|
||||
|
||||
go 1.18
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
module github.com/milvus-io/milvus/pkg
|
||||
|
||||
go 1.18
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/apache/pulsar-client-go v0.6.1-0.20210728062540-29414db801a7
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
```
|
||||
OS: Ubuntu 20.04
|
||||
go:1.18
|
||||
go:1.20
|
||||
cmake: >=3.18
|
||||
gcc: 7.5
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user