From bd42e7129ee768f1b62fb803a17febaa116e763b Mon Sep 17 00:00:00 2001 From: Tao He Date: Wed, 17 Aug 2022 11:21:54 +0800 Subject: [PATCH] Use `make -j$(nproc)` rather than plain `make -j`. Addresses issues in #152. Signed-off-by: Tao He --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c09f4d..e98e221 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ i.e., `ETCDCTL_API=3`. cd cpprestsdk mkdir build && cd build cmake .. -DCPPREST_EXCLUDE_WEBSOCKETS=ON - make -j && make install + make -j$(nproc) && make install ## Build and install @@ -72,7 +72,7 @@ dependencies have been successfully installed: cd etcd-cpp-apiv3 mkdir build && cd build cmake .. - make -j && make install + make -j$(nproc) && make install ## Compatible etcd version