Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
Show First 20 Lines • Show All 264 Lines • ▼ Show 20 Lines | build-bench) | ||||
# Build and run the benchmarks. | # Build and run the benchmarks. | ||||
CMAKE_FLAGS=( | CMAKE_FLAGS=( | ||||
"-DBUILD_BITCOIN_WALLET=ON" | "-DBUILD_BITCOIN_WALLET=ON" | ||||
"-DSECP256K1_ENABLE_MODULE_ECDH=ON" | "-DSECP256K1_ENABLE_MODULE_ECDH=ON" | ||||
"-DSECP256K1_ENABLE_MODULE_MULTISET=ON" | "-DSECP256K1_ENABLE_MODULE_MULTISET=ON" | ||||
"-DSECP256K1_ENABLE_MODULE_RECOVERY=ON" | "-DSECP256K1_ENABLE_MODULE_RECOVERY=ON" | ||||
) | ) | ||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh | CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh | ||||
ninja bench-bitcoin | ./src/bench/bitcoin-bench -printer=junit > junit_results_bench.xml | ||||
ninja bench-secp256k1 | ninja bench-secp256k1 | ||||
;; | ;; | ||||
build-make-generator) | build-make-generator) | ||||
# Ensure that the build using cmake and the "Unix Makefiles" generator is | # Ensure that the build using cmake and the "Unix Makefiles" generator is | ||||
# not broken. | # not broken. | ||||
cd ${BUILD_DIR} | cd ${BUILD_DIR} | ||||
git clean -xffd | git clean -xffd | ||||
Show All 18 Lines |