mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
ci, iwyu: Request IPC file generation explicitly
Fixes a part of https://github.com/bitcoin/bitcoin/issues/35361.
This commit is contained in:
@@ -17,7 +17,10 @@ export RUN_FUNCTIONAL_TESTS=false
|
||||
export RUN_FUZZ_TESTS=false
|
||||
export RUN_CHECK_DEPS=false
|
||||
export RUN_IWYU=true
|
||||
export GOAL="codegen"
|
||||
# Adding non-codegen targets to the build goal is a workaround
|
||||
# for https://gitlab.kitware.com/cmake/cmake/-/work_items/27862
|
||||
# and https://github.com/bitcoin-core/libmultiprocess/issues/284.
|
||||
export GOAL="codegen mp_headers mptest_headers bitcoin_ipc_headers bitcoin_ipc_test_headers bitcoin_ipc_fuzz_headers"
|
||||
export BITCOIN_CONFIG="\
|
||||
--preset dev-mode -DBUILD_GUI=OFF \
|
||||
-DCMAKE_C_COMPILER=clang-${IWYU_LLVM_V} \
|
||||
|
||||
@@ -123,7 +123,7 @@ cmake -S "$BASE_ROOT_DIR" -B "$BASE_BUILD_DIR" "${CMAKE_ARGS[@]}" || (
|
||||
false
|
||||
)
|
||||
|
||||
if [[ "${GOAL}" != all && "${GOAL}" != codegen ]]; then
|
||||
if [[ "${GOAL}" != all && "${GOAL}" != *codegen* ]]; then
|
||||
GOAL="all ${GOAL}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user