-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use boost 1.86 - 1.87 removes deprecated API
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|