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:
Tao He 2022-08-17 11:21:54 +08:00
parent ca2553e30d
commit bd42e7129e
1 changed files with 2 additions and 2 deletions

View File

@ -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