Feature/bump to boost v1.92.0 - #13
Open
ClausKlein wants to merge 36 commits into
Open
ClausKlein wants to merge 36 commits into
ClausKlein wants to merge 36 commits into
Conversation
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 18, 2026 19:36
c836d4b to
1145cc2
Compare
Add more modules examples Use missing patch Fix build with modules and w/o import std;
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 19, 2026 10:30
3bea9f7 to
03d5298
Compare
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 19, 2026 13:15
75a27b8 to
74022a2
Compare
But only with one single moster patch to prevent git errors about missing boost git repo!
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 19, 2026 14:18
87a9f7c to
7321215
Compare
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 20, 2026 19:00
183ee8e to
b657867
Compare
patch a copy of /lib/x86_64-linux-gnu/libc++.modules.json file
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 20, 2026 22:51
dcdea6b to
2035f1f
Compare
Owner
Author
The CXX_MODULES are installed like this:root@06bf603b8cf4:/src# tree -L 2 /root/.local/share/boost-1.92.0/
/root/.local/share/boost-1.92.0/
|-- assert
| `-- boost_assert.natvis
|-- bloom
| |-- boost_bloom.natvis
| `-- boost_bloom_printers.py
|-- boost_any
| `-- boost_any.cppm
|-- boost_conversion
| `-- boost_conversion.cppm
|-- boost_lexical_cast
| `-- boost_lexical_cast.cppm
|-- boost_pfr
| `-- boost_pfr.cppm
|-- boost_stacktrace
| `-- boost_stacktrace.cppm
|-- boost_stacktrace_addr2line
| `-- boost_stacktrace_addr2line.cppm
|-- boost_stacktrace_basic
| `-- boost_stacktrace_basic.cppm
|-- boost_stacktrace_dump
| `-- boost_stacktrace_dump.cppm
|-- boost_stacktrace_noop
| `-- boost_stacktrace_noop.cppm
|-- boost_type_index
| `-- boost_type_index.cppm
|-- container
| |-- boost_hub.natvis
| `-- boost_hub_printers.py
|-- core
| `-- boost_core.natvis
|-- decimal
| |-- decimal_printer_gdb.py
| |-- decimal_printer_lldb.py
| `-- detail
|-- interprocess
| |-- boost_interprocess.natvis
| `-- boost_interprocess_printers.py
|-- random
| |-- Jamfile.v2
| |-- haertel.hpp
| `-- test_haertel.cpp
|-- system
| `-- boost_system.natvis
|-- unordered
| |-- boost_unordered.natvis
| `-- boost_unordered_printers.py
|-- url
| |-- gdb
| `-- test_suite
`-- variant2
`-- boost_variant2.natvis
25 directories, 27 files
root@06bf603b8cf4:/src# |
This was referenced Aug 21, 2026
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
3 times, most recently
from
August 22, 2026 11:39
7b1b7d3 to
2388bbe
Compare
To fix problems with missing boost::ulong_long_type
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 22, 2026 15:12
2388bbe to
470cce8
Compare
Fix boost_any.cppm Unix Start next try to fix it on Windows too :-(
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 22, 2026 20:20
46206e5 to
d23f97e
Compare
How to prevent FetchContent to patch source packages again while rebuild_cache?
This was referenced Aug 24, 2026
ClausKlein
commented
Aug 25, 2026
Comment on lines
+223
to
+236
| ############################################################# | ||
| if( | ||
| APPLE | ||
| AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU" | ||
| AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 16 | ||
| AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 17 | ||
| AND CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)$" | ||
| ) | ||
| # FIXME: GCC 16 on Darwin ARM64 loses boost::ulong_long_type from | ||
| # Boost.Config when sources are compiled with -fmodules-ts. | ||
| add_compile_definitions(BOOST_HAS_LONG_LONG) | ||
| endif() | ||
| ############################################################# | ||
|
|
Owner
Author
There was a problem hiding this comment.
Note this workaround is still needed!
ClausKlein
commented
Aug 25, 2026
| INTERFACE | ||
| $<$<CONFIG:Release>:BOOST_DISABLE_ASSERT> | ||
| BOOST_ASIO_NO_DEPRECATED | ||
| BOOST_HAS_LONG_LONG |
Owner
Author
There was a problem hiding this comment.
same workaround for use of installed packages!
ClausKlein
force-pushed
the
feature/bump-to-boost-v1.92.0
branch
from
August 25, 2026 19:20
3123415 to
6dd2b37
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based strictly on the CMake logic and the libraries marked with use
BOOST_USE_MODULES:anyconversiondlllexical_castpfrstacktracetype_indexTODOS:
g++-16does not supportmodule :private;used bystacktrace:import std;g++-16on Darwin with arm64 does not build with BOOST_USE_MODULES=1g++-16on Darwin with arm64 does not build withimport std;