Skip to content

Commit d8364e5

Browse files
committed
ci: drop Bitcoin Core example-target reference during subtree replace
Bitcoin Core's cmake/libmultiprocess.cmake currently references the mpcalculator, mpprinter and mpexample targets, which no longer exist in the subtree (the example/ directory lives outside the 'lib' branch). Strip the offending line as part of replace_subtree so the bitcoin-core CI job configures cleanly. Remove this workaround once a matching Bitcoin Core PR has landed.
1 parent 0eef7f0 commit d8364e5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ci/scripts/bitcoin_core_ci.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ replace_subtree() {
1414
# branch, which is 'git subtree split --prefix=lib' of master. Replace the
1515
# subtree with the same lib/ contents the split branch would publish.
1616
cp -a _libmultiprocess/lib src/ipc/libmultiprocess
17+
# The example/ directory is intentionally not part of the 'lib' branch, so
18+
# the mpcalculator/mpprinter/mpexample targets do not exist. Drop the line
19+
# in Bitcoin Core's cmake glue that references them. Remove this once
20+
# Bitcoin Core no longer references the example targets.
21+
sed -i '/set_target_properties(mpcalculator mpprinter mpexample/d' \
22+
cmake/libmultiprocess.cmake
1723
}
1824

1925
add_llvm_apt_repository() {

0 commit comments

Comments
 (0)