docs: collaps different platforms
This commit is contained in:
parent
abbc641632
commit
a100d96ef3
17
README.md
17
README.md
|
@ -118,6 +118,10 @@ To build TDengine, use [CMake](https://cmake.org/) 3.13.0 or higher versions in
|
||||||
|
|
||||||
## 4.1 Build on Linux
|
## 4.1 Build on Linux
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
<summary>Detailed steps to build on Linux</summary>
|
||||||
|
|
||||||
You can run the bash script `build.sh` to build both TDengine and taosTools including taosBenchmark and taosdump as below:
|
You can run the bash script `build.sh` to build both TDengine and taosTools including taosBenchmark and taosdump as below:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -149,8 +153,14 @@ aarch64:
|
||||||
cmake .. -DCPUTYPE=aarch64 && cmake --build .
|
cmake .. -DCPUTYPE=aarch64 && cmake --build .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## 4.2 Build on macOS
|
## 4.2 Build on macOS
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
<summary>Detailed steps to build on macOS</summary>
|
||||||
|
|
||||||
Please install XCode command line tools and cmake. Verified with XCode 11.4+ on Catalina and Big Sur.
|
Please install XCode command line tools and cmake. Verified with XCode 11.4+ on Catalina and Big Sur.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
@ -158,8 +168,14 @@ mkdir debug && cd debug
|
||||||
cmake .. && cmake --build .
|
cmake .. && cmake --build .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## 4.3 Build on Windows
|
## 4.3 Build on Windows
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
<summary>Detailed steps to build on Windows</summary>
|
||||||
|
|
||||||
If you use the Visual Studio 2013, please open a command window by executing "cmd.exe".
|
If you use the Visual Studio 2013, please open a command window by executing "cmd.exe".
|
||||||
Please specify "amd64" for 64 bits Windows or specify "x86" for 32 bits Windows when you execute vcvarsall.bat.
|
Please specify "amd64" for 64 bits Windows or specify "x86" for 32 bits Windows when you execute vcvarsall.bat.
|
||||||
|
|
||||||
|
@ -189,6 +205,7 @@ mkdir debug && cd debug
|
||||||
cmake .. -G "NMake Makefiles"
|
cmake .. -G "NMake Makefiles"
|
||||||
nmake
|
nmake
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
# 5. Installation
|
# 5. Installation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue