Skip to content

Commit

Permalink
update Golang version to 1.20 (#13638)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt authored May 22, 2023
1 parent 68137d6 commit cc88813
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hardware-and-software-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ As an open-source distributed SQL database with high performance, TiDB can be de

| Libraries required for compiling and running TiDB | Version |
| :--- | :--- |
| Golang | 1.18.5 or later |
| Golang | 1.20 or later |
| Rust | nightly-2022-07-31 or later |
| GCC | 7.x |
| LLVM | 13.0 or later |
Expand Down
2 changes: 1 addition & 1 deletion pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To obtain `pd-ctl` of the latest version, download the TiDB server installation
### Compile from source code

1. [Go](https://golang.org/) Version 1.19 or later because the Go modules are used.
1. [Go](https://golang.org/) 1.20 or later is required because the Go modules are used.
2. In the root directory of the [PD project](https://github.com/pingcap/pd), use the `make` or `make pd-ctl` command to compile and generate `bin/pd-ctl`.

## Usage
Expand Down
2 changes: 1 addition & 1 deletion pd-recover.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PD Recover is a disaster recovery tool of PD, used to recover the PD cluster whi

## Compile from source code

+ [Go](https://golang.org/) Version 1.19 or later is required because the Go modules are used.
+ [Go](https://golang.org/) 1.20 or later is required because the Go modules are used.
+ In the root directory of the [PD project](https://github.com/pingcap/pd), use the `make pd-recover` command to compile and generate `bin/pd-recover`.

> **Note:**
Expand Down
2 changes: 1 addition & 1 deletion tidb-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ After installing TiUP, you can use `tiup ctl:v<CLUSTER_VERSION> tidb` command to

### Compile from source code

- Compilation environment requirement: [Go](https://golang.org/) Version 1.19 or later
- Compilation environment requirement: [Go](https://golang.org/) 1.20 or later
- Compilation procedures: Go to the root directory of the [TiDB Control project](https://github.com/pingcap/tidb-ctl), use the `make` command to compile, and generate `tidb-ctl`.
- Compilation documentation: you can find the help files in the `doc` directory; if the help files are lost or you want to update them, use the `make doc` command to generate the help files.

Expand Down

0 comments on commit cc88813

Please sign in to comment.