Skip to content

Commit

Permalink
Use boost 1.86 - 1.87 removes deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed Jan 14, 2025
1 parent 1a9ebf1 commit 0362cd3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/actions/setup-build-agent/setup_gh_actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,17 @@ else
brew install ccache

if [ "$TARGET" = "shared" ]; then
brew install boost
# Boost 1.87 removes certain deprecated APIs that we used to depend on.
# A patch is provided in Botan 3.7.0, in order to allow building 3.6.1,
# we explicitly install the previous version of boost.
#
# See also: https://github.com/randombit/botan/pull/4477
# https://github.com/randombit/botan/pull/4484
#
# TODO: remove this as soon as we are done with Botan 3.6.1.
brew search boost # for debugging
brew install [email protected]
brew link --force --overwrite [email protected]

# On Apple Silicon we need to specify the include directory
# so that the build can find the boost headers.
Expand Down

0 comments on commit 0362cd3

Please sign in to comment.