File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ if [[ "${RUN_TIDY}" == "true" ]]; then
121
121
BITCOIN_CONFIG_ALL=" $BITCOIN_CONFIG_ALL -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
122
122
fi
123
123
124
- bash -c " cmake -S $BASE_ROOT_DIR $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( (cat CMakeFiles/CMakeOutput.log CMakeFiles/CMakeError.log ) && false)"
124
+ bash -c " cmake -S $BASE_ROOT_DIR $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( (cat $( cmake -P " ${BASE_ROOT_DIR} /ci/test/GetCMakeLogFiles.cmake " ) ) && false)"
125
125
126
126
bash -c " make $MAKEJOBS all $GOAL " || ( echo " Build failure. Verbose build follows." && make all " $GOAL " V=1 ; false )
127
127
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024-present The Bitcoin Core developers
2
+ # Distributed under the MIT software license, see the accompanying
3
+ # file COPYING or https://opensource.org/license/mit/.
4
+
5
+ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.26 )
6
+ set (log_files "CMakeFiles/CMakeConfigureLog.yaml" )
7
+ else ()
8
+ set (log_files "CMakeFiles/CMakeOutput.log CMakeFiles/CMakeError.log" )
9
+ endif ()
10
+
11
+ execute_process (COMMAND ${CMAKE_COMMAND} -E echo ${log_files} )
You can’t perform that action at this time.
0 commit comments