mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-06 22:51:26 +02:00
Merge bitcoin/bitcoin#31722: cmake: Copy cov_tool_wrapper.sh.in
to the build tree
e3c0152769
cmake: Copy `cov_tool_wrapper.sh.in` to the build tree (Hennadii Stepanov) Pull request description: This PR ensures that `cov_tool_wrapper.sh.in` is available when invoking the `Coverage.cmake` script from any directory. Here is an example of usage on Ubuntu 24.10 with the default GCC 14.2.0: ``` $ cmake -B build -DCMAKE_BUILD_TYPE=Coverage -DCMAKE_CXX_FLAGS="-fprofile-update=atomic" -DCMAKE_C_FLAGS="-fprofile-update=atomic" $ cmake --build build -j $(nproc) $ cd .. $ cmake -DJOBS=$(nproc) -DLCOV_OPTS="--ignore-errors inconsistent,inconsistent" -P bitcoin/build/Coverage.cmake ``` Fixes https://github.com/bitcoin/bitcoin/issues/31638. ACKs for top commit: theuni: utACKe3c0152769
Tree-SHA512: ccfc8e893567f199d9b05ea3916cac06fca89c5892cc7492d5251c331c35408222fd918ed08017515e2dfca10970ae3f633b3917bfb7037db539559e71d7f711
This commit is contained in:
@@ -12,7 +12,7 @@ endif()
|
||||
|
||||
# COV_TOOL is used to replace a placeholder.
|
||||
configure_file(
|
||||
cmake/cov_tool_wrapper.sh.in ${CMAKE_CURRENT_LIST_DIR}/cov_tool_wrapper.sh
|
||||
${CMAKE_CURRENT_LIST_DIR}/cov_tool_wrapper.sh.in ${CMAKE_CURRENT_LIST_DIR}/cov_tool_wrapper.sh
|
||||
FILE_PERMISSIONS OWNER_READ OWNER_EXECUTE
|
||||
GROUP_READ GROUP_EXECUTE
|
||||
WORLD_READ
|
||||
|
Reference in New Issue
Block a user