Use `make -j$(nproc)` rather than plain `make -j`.
Addresses issues in #152. Signed-off-by: Tao He <sighingnow@gmail.com>
This commit is contained in:
parent
ca2553e30d
commit
bd42e7129e
|
|
@ -61,7 +61,7 @@ i.e., `ETCDCTL_API=3`.
|
||||||
cd cpprestsdk
|
cd cpprestsdk
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake .. -DCPPREST_EXCLUDE_WEBSOCKETS=ON
|
cmake .. -DCPPREST_EXCLUDE_WEBSOCKETS=ON
|
||||||
make -j && make install
|
make -j$(nproc) && make install
|
||||||
|
|
||||||
## Build and install
|
## Build and install
|
||||||
|
|
||||||
|
|
@ -72,7 +72,7 @@ dependencies have been successfully installed:
|
||||||
cd etcd-cpp-apiv3
|
cd etcd-cpp-apiv3
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j && make install
|
make -j$(nproc) && make install
|
||||||
|
|
||||||
## Compatible etcd version
|
## Compatible etcd version
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue