From a6246d3322e62088c04c41ca5befbe0edb20e216 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Sat, 31 Aug 2024 11:04:31 -0300 Subject: [PATCH] migrate `setup_environment.sh` to CMake --- test/setup_environment.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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