mirror of https://github.com/milvus-io/milvus.git
[skip ci] update cmake version (#4084)
Signed-off-by: shengjun.li <shengjun.li@zilliz.com>pull/4085/head
parent
992961ee85
commit
a3506a8863
|
@ -35,7 +35,7 @@ The Milvus team members will review your pull requests, and once it is accepted,
|
|||
Please create a new branch from an up-to-date master on your fork.
|
||||
|
||||
1. Fork the repository on GitHub.
|
||||
2. Clone your fork to your local machine with `git clone git@github.com:<yourname>/milvus-io/milvus.git`.
|
||||
2. Clone your fork to your local machine with `git clone git@github.com:<yourname>/milvus.git`.
|
||||
3. Create a branch with `git checkout -b my-topic-branch`.
|
||||
4. Make your changes, commit, then push to to GitHub with `git push --set-upstream origin my-topic-branch`. You must record your changes in [CHANGELOG.md](CHANGELOG.md) with issue numbers and descriptions.
|
||||
5. Visit GitHub and make your pull request.
|
||||
|
|
12
INSTALL.md
12
INSTALL.md
|
@ -46,7 +46,7 @@
|
|||
|
||||
- GCC 7.0 or higher to support C++ 17
|
||||
|
||||
- CMake 3.12 or higher
|
||||
- CMake 3.14 or higher
|
||||
|
||||
- Git
|
||||
|
||||
|
@ -302,16 +302,16 @@ Follow the steps below to solve this problem:
|
|||
Follow the steps below to install a supported version of CMake:
|
||||
|
||||
1. Remove the unsupported version of CMake.
|
||||
2. Get CMake 3.12 or higher. Here we get CMake 3.12.
|
||||
2. Get CMake 3.14 or higher. Here we get CMake 3.14.
|
||||
|
||||
```shell
|
||||
$ wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.tar.gz
|
||||
$ wget https://cmake.org/files/v3.14/cmake-3.14.7-Linux-x86_64.tar.gz
|
||||
```
|
||||
|
||||
3. Extract the file and install CMake.
|
||||
|
||||
```shell
|
||||
$ tar zxvf cmake-3.12.2-Linux-x86_64.tar.gz
|
||||
$ mv cmake-3.12.2-Linux-x86_64 /opt/cmake-3.12.2
|
||||
$ ln -sf /opt/cmake-3.12.2/bin/* /usr/bin/
|
||||
$ tar zxvf cmake-3.14.7-Linux-x86_64.tar.gz
|
||||
$ mv cmake-3.14.7-Linux-x86_64 /opt/cmake-3.14.7
|
||||
$ ln -sf /opt/cmake-3.14.7/bin/* /usr/bin/
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue