Skip to content

Commit

Permalink
migrate setup_environment.sh to CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoerg committed Sep 4, 2024
1 parent 3322cab commit a6246d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/setup_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ if [[ -n ${build_bitcoind} ]]; then
popd

# Do the build
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure --with-incompatible-bdb --with-miniupnpc=no --without-gui --disable-zmq --disable-tests --disable-bench --with-libs=no --with-utils=no
make src/bitcoind
cmake -B build -DBerkeleyDB_INCLUDE_DIR:PATH="$PWD/depends/x86_64-pc-linux-gnu/include" -DBoost_INCLUDE_DIR:PATH="$PWD/depends/x86_64-pc-linux-gnu/include" -DLibevent_DIR="$PWD/depends/x86_64-pc-linux-gnu/include" -DWARN_INCOMPATIBLE_BDB=ON -DWITH_MINIUPNPC=OFF -DBUILD_GUI=OFF -DWITH_ZMQ=OFF -DBUILD_TESTS=OFF -DBUILD_BENCH=NO
cmake --build build --target bitcoind
fi

0 comments on commit a6246d3

Please sign in to comment.