Repository navigation
CI: build macOS against Boost 1.81 (ports v1.0.2) - #560
Merged
Merged
Conversation
vitalyster
force-pushed
the
macos-boost181
branch
from
October 24, 2026 11:03
c674666 to
0653ef7
Compare
The bundled cmake_modules/FindBoost.cmake is an old copy of CMake's module. Find Boost through its own BoostConfig.cmake instead, and fall back to CMake's FindBoost module (CMP0167 set to OLD, so no deprecation warning) for Boost installations without the CMake package files. cmake_minimum_required goes to 3.12 so find_package honours <Package>_ROOT (CMP0074). The Boost_VERSION check before BOOST_FILESYSTEM_VERSION=3 is dropped: every supported Boost is newer than 1.50, and BoostConfig reports the version as x.y.z, which the numeric comparison can't handle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MacPorts' boost port is pinned to 1.76, whose headers use std::result_of and don't compile against libc++ in C++20 mode. Ports v1.0.2 builds libswiften against boost181; CI clones that tag, installs boost181 and passes Boost_ROOT=/opt/local/libexec/boost/1.81, where boost181 installs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vitalyster
force-pushed
the
macos-boost181
branch
from
October 24, 2026 11:43
51e90ac to
d07c06c
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.
MacPorts' boost port is pinned to 1.76, whose headers use std::result_of and don't compile against libc++ in C++20 mode. Ports v1.0.2 builds libswiften against boost181; CI clones that tag, installs boost181 and points CMake at /opt/local/libexec/boost/1.81.