Skip to content

Commit

Permalink
[doc]fixtypo & emphasize build type (vesoft-inc#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
amber-moe authored and Liuxue-Yang committed Jun 11, 2020
1 parent 1084cb2 commit a671f25
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ $ git clone --depth=1 https://github.com/vesoft-inc/nebula.git
$ cd nebula
$ mkdir build
$ cd build
$ cmake -DENABLE_TESTING=OFF -DCMAKE_INSTALL_PREFIX=$PWD/install ..
$ cmake -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/install ..
# 假设 cores 为核数,mem_gb 为内存大小(单位为 GB),N 取值建议为 cores 和 mem_gb/2 中的较小值
# Build type 建议选择 release 以加快编译速度
$ make -jN
$ make install
$ ls install/
Expand Down
2 changes: 1 addition & 1 deletion docs/manual-CN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Nebula Graph** 是一个分布式的可扩展的高性能的图数据库。

**Nebula Graph** 可以容纳百亿节点和万亿条边,并达到毫秒级的时延.
**Nebula Graph** 可以容纳百亿节点和万亿条边,并达到毫秒级的时延

## 前言

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ $ git clone --depth=1 https://github.com/vesoft-inc/nebula.git
$ cd nebula
$ mkdir build
$ cd build
$ cmake -DENABLE_TESTING=OFF -DCMAKE_INSTALL_PREFIX=$PWD/install ..
$ cmake -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/install ..
# Assuming cores is the number of cores and mem_gb is the memory size (in GB), the value of N is recommended to select the smaller one from cores and mem_gb / 2
# We suggest choosing release build type to speed up compilation
$ make -jN
$ make install
$ ls install/
Expand Down

0 comments on commit a671f25

Please sign in to comment.