Skip to content

Commit

Permalink
setup_environment: parallelize bitcoind build
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoerg committed Sep 8, 2024
1 parent ad497de commit 1dbc4fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/setup_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,10 @@ if [[ -n ${build_bitcoind} ]]; then

# Build bitcoind. This is super slow, but it is cached so it runs fairly quickly.
pushd depends
make NO_QT=1 NO_QR=1 NO_ZMQ=1 NO_UPNP=1 NO_NATPMP=1 NO_USDT=1
make -j $(nproc) NO_QT=1 NO_QR=1 NO_ZMQ=1 NO_UPNP=1 NO_NATPMP=1 NO_USDT=1
popd

# Do the build
cmake -B build --toolchain depends/x86_64-pc-linux-gnu/toolchain.cmake -DBUILD_TESTS=OFF -DBUILD_BENCH=OFF
cmake --build build --target bitcoind
cmake --build build -j $(nproc) --target bitcoind
fi

0 comments on commit 1dbc4fd

Please sign in to comment.