Skip to content

Commit d4751bd

Browse files
authored
Merge pull request #320 from benbaley/master
更新编译构建模块go版本号
2 parents b8833fd + d2b4257 commit d4751bd

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/源码安装PlatON.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This document is intended for users with the ability to compile source code on t
1515
Windows compilation environment requirements :
1616

1717
- git: `2.19.1 and above`
18-
- Go language development kit: `go (1.16+)`
18+
- Go language development kit: `go (1.22+)`
1919
- mingw: `mingw (V8.1.0)`
2020
- cmake: `3.0 +`
2121

@@ -47,7 +47,7 @@ You can install the above compilation environment yourself. Please make sure the
4747
> choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
4848
> ```
4949
>
50-
> Most softwares installed using the `chocolatey` package manager have a default installation path, and some software may have various paths, depending on the publisher of the software. Installing these packages will modify the Path environment variable. The final installation path can be viewed in the PATH. Some machine environments may not find the installation path of these tools in the PATH, and you need to add it manually at this time. After installation, please make sure the installed Go version is 1.16 (or higher).
50+
> Most softwares installed using the `chocolatey` package manager have a default installation path, and some software may have various paths, depending on the publisher of the software. Installing these packages will modify the Path environment variable. The final installation path can be viewed in the PATH. Some machine environments may not find the installation path of these tools in the PATH, and you need to add it manually at this time. After installation, please make sure the installed Go version is 1.22 (or higher).
5151
>
5252
5353
> Note: The following commands need to be run in the `Git-bash` environment. In any directory, right-click and select `Git Bash Here` to bring up the `Git Bash` running window.
@@ -90,7 +90,7 @@ After compiling, `platon`,` platonkey` executable files will be generated in the
9090
- System version: `Ubuntu 18.04 or higher`
9191
- git: `2.19.1 or higher`
9292
- Compilers: `gcc (4.9.2+)`, `g ++ (5.0+)`
93-
- Go language development kit: `go (1.16+)`
93+
- Go language development kit: `go (1.22+)`
9494
- cmake: `3.0 +`
9595

9696
**step2.** Get the PlatON source:

website/i18n/zh-CN/docusaurus-plugin-content-docs/current/源码安装PlatON.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sidebar_label: 源码安装PlatON
1313
Windows编译环境需要符合以下条件:
1414

1515
- git:`2.19.1以上`
16-
- go语言开发包:`go(1.16+)`
16+
- go语言开发包:`go(1.22+)`
1717
- mingw:`mingw(V8.1.0)`
1818
- cmake: `3.0+`
1919

@@ -45,7 +45,7 @@ Windows编译环境需要符合以下条件:
4545
> choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
4646
> ```
4747
>
48-
> 利用`chocolatey`包管理器安装的软件大部分有默认的安装路径,部分软件可能会有各种各样的路径,这取决于软件的发布者。安装这些包将修改Path环境变量。最后安装路径可查看PATH,某些机器环境可能在 PATH 中找不到这些工具的安装路径,此时需手动添加。安装完之后请确保已安装的Go版本为1.16(或更高版本)。
48+
> 利用`chocolatey`包管理器安装的软件大部分有默认的安装路径,部分软件可能会有各种各样的路径,这取决于软件的发布者。安装这些包将修改Path环境变量。最后安装路径可查看PATH,某些机器环境可能在 PATH 中找不到这些工具的安装路径,此时需手动添加。安装完之后请确保已安装的Go版本为1.22(或更高版本)。
4949
>
5050
5151
> 注意:以下命令均需在`Git-bash`环境运行, 在任意目录下,鼠标右键,选中`Git Bash Here`,弹出`Git Bash`运行窗口。
@@ -89,7 +89,7 @@ go run build/ci.go install ./cmd/platonkey
8989
- 系统版本:`Ubuntu 18.04.1 及以上`
9090
- git:`2.19.1及以上`
9191
- 编译器:`gcc(4.9.2+)``g++(5.0+)`
92-
- go语言开发包:`go(1.16+)`
92+
- go语言开发包:`go(1.22+)`
9393
- cmake:`3.0+`
9494

9595
**step2.** 获取PlatON源码:

0 commit comments

Comments
 (0)