Ryan Ofsky
2221c8814d
depends: Update libmultiprocess library before converting to subtree
...
This should be the final update to the libmultiprocess package via the depends
system. It brings in the libmultiprocess cmake changes from
https://github.com/chaincodelabs/libmultiprocess/pull/136 needed to support
building as subtree. After this, a followup PR will add libmultiprocess as a
git subtree and depends will just use the git subtree instead of hardcoding its
own version hash.
Since there have been libmultiprocess API changes since the last update, this
commit also updates bitcoin code to be compatible with them.
This update brings in the following changes:
https://github.com/chaincodelabs/libmultiprocess/pull/121 ProxyClientBase: avoid static_cast to partially constructed object
https://github.com/chaincodelabs/libmultiprocess/pull/120 proxy-types.h: add static_assert to detect int/enum size mismatch
https://github.com/chaincodelabs/libmultiprocess/pull/127 ProxyClientBase: avoid static_cast to partially destructed object
https://github.com/chaincodelabs/libmultiprocess/pull/129 Fix "disconnected: write(m_post_fd, &buffer, 1): Broken pipe" EventLoop shutdown races.
https://github.com/chaincodelabs/libmultiprocess/pull/130 refactor: Add CleanupRun function to dedup clean list code
https://github.com/chaincodelabs/libmultiprocess/pull/131 doc: fix startAsyncThread comment
https://github.com/chaincodelabs/libmultiprocess/pull/133 Fix debian "libatomic not found" error in downstream builds
https://github.com/chaincodelabs/libmultiprocess/pull/94 c++ 20 cleanups
https://github.com/chaincodelabs/libmultiprocess/pull/135 refactor: proxy-types.h API cleanup
https://github.com/chaincodelabs/libmultiprocess/pull/136 cmake: Support being included with add_subdirectory
https://github.com/chaincodelabs/libmultiprocess/pull/137 doc: Fix broken markdown links
2025-01-26 14:13:47 -05:00
Ryan Ofsky
90b405516f
Update libmultiprocess library
...
Add recent changes and fixes for shutdown bugs.
https://github.com/chaincodelabs/libmultiprocess/pull/111 : doc: Add internal design section
https://github.com/chaincodelabs/libmultiprocess/pull/113 : Add missing include to util.h
https://github.com/chaincodelabs/libmultiprocess/pull/116 : shutdown bugfix: destroy RPC system before running cleanup callbacks
https://github.com/chaincodelabs/libmultiprocess/pull/118 : shutdown bugfix: Prevent segfault in server if connection is broken during long function call
https://github.com/chaincodelabs/libmultiprocess/pull/119 : cmake: avoid libatomic not found error on debian
2024-10-16 12:13:27 -04:00
Ryan Ofsky
070e6a32d5
depends: Update libmultiprocess library for cmake headers target
...
This update brings in the following changes:
https://github.com/chaincodelabs/libmultiprocess/pull/107 example: Remove manual client adding
https://github.com/chaincodelabs/libmultiprocess/pull/108 doc: Add comments for socket descriptor handling when forking
https://github.com/chaincodelabs/libmultiprocess/pull/109 example: Add missing thread.join() call so example can exit cleanly
https://github.com/chaincodelabs/libmultiprocess/pull/110 cmake: add target_capnp_sources headers target
2024-09-23 16:03:04 -04:00
Ryan Ofsky
4da20434d4
depends: Update libmultiprocess library for CustomMessage function and ThreadContext bugfix
...
The CustomMessage functions allow simplifying custom IPC type code, and the
bugfix is needed to prevent in a crash in a new test which creates and destroys
connections in a loop. Upstream PRs are:
https://github.com/chaincodelabs/libmultiprocess/pull/105 types: Add Custom{Build,Read,Pass}Message hooks
https://github.com/chaincodelabs/libmultiprocess/pull/106 Bugfix: Clean up ThreadContext pointers when Connection is destroyed
2024-09-06 09:08:10 -04:00
Hennadii Stepanov
ec0e805d11
depends: Bump libmultiprocess
for CMake fixes
2024-07-23 20:04:53 +01:00
Cory Fields
d318c4ef56
depends: bump libmultiprocess for CMake fixes
2024-07-19 18:32:56 +00:00
Ryan Ofsky
b8105b3ed7
depends: Update libmultiprocess library to fix C++20 macos build error
...
Fixes #29248
The std::result_of type was removed in c++20, but was being referenced in some
old, unused code in the library. The issue was fixed in:
https://github.com/chaincodelabs/libmultiprocess/pull/91 util: Drop Bind, BindTuple, ComposeFn, GetFn, and ThrowFn helpers
This update also includes other recent libmultiprocess changes to improve C++20
support and fix build issues:
https://github.com/chaincodelabs/libmultiprocess/pull/89 pkgconfig: Drop -std=c++17 compile flag
https://github.com/chaincodelabs/libmultiprocess/pull/90 pkgconfig: Use @CMAKE_INSTALL_LIBDIR@ variable
https://github.com/chaincodelabs/libmultiprocess/pull/93 Fix support for vector<bool> serialization with libc++
2024-01-22 11:47:13 -05:00
Ryan Ofsky
21bfee0720
depends: bump libmultiprocess to fix capnproto deprecation warnings
...
This incorporates PR https://github.com/chaincodelabs/libmultiprocess/pull/88
"Fix current deprecation warnings as of capnproto-1.0.1" and reverts the
NO_WERROR CI workaround added in https://github.com/bitcoin/bitcoin/pull/28735
2023-11-17 15:27:19 -05:00
MarcoFalke
3333f14efa
depends: Bump to capnproto-c++-1.0.1
2023-11-03 12:48:42 +01:00
Hennadii Stepanov
1986f129c6
build: Update libmultiprocess
library
...
Replacing `install` with `install-lib` and `install-bin` is not strictly
necessary just to update the library, but it takes advantage of recent
changes in the new version, and makes the build more minimal.
2022-12-09 15:26:58 +00:00
fanquake
7c218dacd0
build: specify cmake build dir for multiprocess depends build
...
When no build dir is specified, cmake will warn:
```bash
Preprocessing libmultiprocess...
Configuring libmultiprocess...
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
```
It's unclear if this will actually ever become an error, but it's also easy
enough to just supply the directory, and save this maybe breaking in
future.
2022-04-04 10:24:06 +01:00
Russell Yanofsky
5d62d7f6cd
Update libmultiprocess library
...
Fix "Disable GCC suggest-override warnings for proxy clients" https://github.com/chaincodelabs/libmultiprocess/pull/40 is needed to prevent cirrus GCC failure https://cirrus-ci.com/task/6000489311502336?command=ci#L4294
This also includes other recent changes
https://github.com/chaincodelabs/libmultiprocess/pull/35 Fix README.md markdown
https://github.com/chaincodelabs/libmultiprocess/pull/37 Add "make check" target to build and run tests
https://github.com/chaincodelabs/libmultiprocess/pull/38 Add "extends" inherited method support
https://github.com/chaincodelabs/libmultiprocess/pull/41 Avoid depending on argument default constructors
https://github.com/chaincodelabs/libmultiprocess/pull/42 Support attaching custom cleanup functions to proxy client and server classes
https://github.com/chaincodelabs/libmultiprocess/pull/43 Drop hardcoded #include lines in generated files
2021-04-23 03:02:50 -05:00
Russell Yanofsky
603fd6a2e7
depends: add MULTIPROCESS depends option
...
Builds required packages and passes --enable-multiprocess option to bitcoin build
2020-05-12 09:47:06 -04:00
MarcoFalke
f29bd546ec
Revert "Merge #16367 : Multiprocess build support"
...
This reverts the changes made in merge commit
1b30761360
:
This reverts commit b919efadff
.
This reverts commit d54f64c6c7
.
This reverts commit 787f40668d
.
This reverts commit d630646662
.
This reverts commit e6e44eedd5
.
2020-04-10 19:38:21 -04:00
Russell Yanofsky
d630646662
libmultiprocess depends build
2020-04-05 21:48:21 -04:00