diff --git a/test/setup_environment.sh b/test/setup_environment.sh index 6a3f948d3..f77926716 100755 --- a/test/setup_environment.sh +++ b/test/setup_environment.sh @@ -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