Skip to content

Commit

Permalink
Merge #755: setup_environment: parallelize bitcoind build
Browse files Browse the repository at this point in the history
1dbc4fd setup_environment: parallelize bitcoind build (Bruno Garcia)

Pull request description:

  See #752 (comment)

ACKs for top commit:
  achow101:
    ACK 1dbc4fd
  hebasto:
    ACK 1dbc4fd.

Tree-SHA512: 92dd01039b23ba291a9c97f7cd5508975913cbcb28b2f4507e6e83e0bcfd3780a1c60fef02793806aee55dbb6d077365be3ed64638a6a8102dfee2d164abb6ed
  • Loading branch information
achow101 committed Sep 9, 2024
2 parents ad497de + 1dbc4fd commit 57289f7
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 57289f7

Please sign in to comment.