From c406f7a85937f2bf74dfba9d02a38bcd6c0c1a42 Mon Sep 17 00:00:00 2001 From: plebhash Date: Mon, 8 Apr 2024 15:52:55 -0300 Subject: [PATCH] automate nproc --- src/getting-started.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/getting-started.md b/src/getting-started.md index b478f23..f3a90b3 100644 --- a/src/getting-started.md +++ b/src/getting-started.md @@ -87,8 +87,9 @@ Next, compile the template provider. You can accelerate the process by using mul ```bash make clean ./autogen.sh && ./configure -nproc # find out how many cores are available on your CPU -make -j # replace the result of nproc here +make -j "$(nproc)" # on linux +# or +make -j "$(sysctl -n hw.physicalcpu)" # on macOS ``` Edit the `bitcoin.conf` file by adding: