Skip to content

Conversation

Eunovo
Copy link
Contributor

@Eunovo Eunovo commented Sep 3, 2025

The make target to build the example executable is "mpexample", not "example", so make example does nothing. This PR changes the documentation to use "mpexamples", because that builds the calculator, printer and example executables.

@DrahtBot
Copy link

DrahtBot commented Sep 3, 2025

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK Sjors, ismaelsadeeq, ryanofsky

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

The make target to build the example executable is "mpexample" not "example".
This commit uses "mpexamples" in the doc, because that builds
the calculator, printer and example executables.
@Eunovo Eunovo force-pushed the examples-doc-change branch from c157fd4 to b6d3dc4 Compare September 3, 2025 07:51
@Eunovo Eunovo changed the title doc: correct the build instructions for example doc: correct the build instructions for the example Sep 3, 2025
Copy link
Member

@ismaelsadeeq ismaelsadeeq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK
I also come across the issue yesterday while trying to build the example

@Sjors
Copy link
Member

Sjors commented Sep 3, 2025

ACK b6d3dc4

Copy link
Member

@ismaelsadeeq ismaelsadeeq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b6d3dc4

Copy link
Collaborator

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK b6d3dc4. Thanks for the fix!

@ryanofsky
Copy link
Collaborator

Note: this documentation has been broken since #136 which renamed example target to mpexamples

@ryanofsky ryanofsky merged commit 1a85da5 into bitcoin-core:master Sep 4, 2025
6 checks passed
ryanofsky added a commit to ryanofsky/bitcoin that referenced this pull request Sep 5, 2025
…f2ecc1

13424cf2ecc1 Merge bitcoin-core/libmultiprocess#205: cmake: check for Cap'n Proto / Clang / C++20 incompatibility
72dce118649b Merge bitcoin-core/libmultiprocess#200: event loop: add LogOptions struct and reduce the log size
85003409f964 eventloop: add `LogOptions` struct
657d80622f81 cmake: capnproto pkg missing helpful error
d314057775a5 cmake: check for Cap'n Proto / Clang / C++20 incompatibility
878e84dc3030 Merge bitcoin-core/libmultiprocess#203: cmake: search capnproto in package mode only
1a85da5873c2 Merge bitcoin-core/libmultiprocess#202: doc: correct the build instructions for the example
df01873e1ecb Merge bitcoin-core/libmultiprocess#197: ci: Add freebsd and macos build
3bee07ab3367 cmake: search capnproto in package mode only
b6d3dc44194c doc: correct the build instructions for example
fa1ac3000055 ci: Add macos and freebsd task

git-subtree-dir: src/ipc/libmultiprocess
git-subtree-split: 13424cf2ecc1e5eadc85556cf1f4c65e915f702a
fanquake added a commit to bitcoin/bitcoin that referenced this pull request Sep 8, 2025
a334bbe Squashed 'src/ipc/libmultiprocess/' changes from 1b8d4a6f1e54..13424cf2ecc1 (Ryan Ofsky)

Pull request description:

  Includes:

  - bitcoin-core/libmultiprocess#197
  - bitcoin-core/libmultiprocess#202
  - bitcoin-core/libmultiprocess#203
  - bitcoin-core/libmultiprocess#200
  - bitcoin-core/libmultiprocess#205

  These changes should give better feedback when there are build errors, and also make IPC logs more readable.

  The changes can be verified by running `test/lint/git-subtree-check.sh src/ipc/libmultiprocess` as described in [developer notes](https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md#subtrees) and [lint instructions](https://github.com/bitcoin/bitcoin/tree/master/test/lint#git-subtree-checksh)

ACKs for top commit:
  Sjors:
    ACK a4ee70e

Tree-SHA512: ddddd0ed44522ade98a5b94f44b57210794d64f8c378a00438082b8c377f41e9b86c0c5ed29add45472549758f7478ab220af8e268b90b30f57a236c639497d3
Sjors added a commit to Sjors/sv2-tp that referenced this pull request Sep 23, 2025
47d79db8a5 Merge bitcoin-core/libmultiprocess#201: bug: fix mptest hang, ProxyClient<Thread> deadlock in disconnect handler
f15ae9c9b9 Merge bitcoin-core/libmultiprocess#211: Add .gitignore
4a269b21b8 bug: fix ProxyClient<Thread> deadlock if disconnected as IPC call is returning
85df96482c Use try_emplace in SetThread instead of threads.find
ca9b380ea9 Use std::optional in ConnThreads to allow shortening locks
9b07991135 doc: describe ThreadContext struct and synchronization requirements
d60db601ed proxy-io.h: add Waiter::m_mutex thread safety annotations
4e365b019a ci: Use -Wthread-safety not -Wthread-safety-analysis
15d7bafbb0 Add .gitignore
fe1cd8c761 Merge bitcoin-core/libmultiprocess#208: ci: Test minimum cmake version in olddeps job
b713a0b7bf Merge bitcoin-core/libmultiprocess#207: ci: output CMake version in CI script
0f580397c9 ci: Test minimum cmake version in olddeps job
d603dcc0ee ci: output CMake version in CI script
13424cf2ec Merge bitcoin-core/libmultiprocess#205: cmake: check for Cap'n Proto / Clang / C++20 incompatibility
72dce11864 Merge bitcoin-core/libmultiprocess#200: event loop: add LogOptions struct and reduce the log size
85003409f9 eventloop: add `LogOptions` struct
657d80622f cmake: capnproto pkg missing helpful error
d314057775 cmake: check for Cap'n Proto / Clang / C++20 incompatibility
878e84dc30 Merge bitcoin-core/libmultiprocess#203: cmake: search capnproto in package mode only
1a85da5873 Merge bitcoin-core/libmultiprocess#202: doc: correct the build instructions for the example
df01873e1e Merge bitcoin-core/libmultiprocess#197: ci: Add freebsd and macos build
3bee07ab33 cmake: search capnproto in package mode only
b6d3dc4419 doc: correct the build instructions for example
fa1ac30000 ci: Add macos and freebsd task

git-subtree-dir: src/ipc/libmultiprocess
git-subtree-split: 47d79db8a5528097b408e18f7b0bae11a6702d26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants