-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHIA-2091 Use boost v1.85 when compiling chiavdf from source on macos…
…-intel (#19065)
- Loading branch information
1 parent
45465b4
commit 1951022
Showing
1 changed file
with
6 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 |
---|---|---|
|
@@ -131,7 +131,12 @@ else | |
symlink_vdf_bench "$PYTHON_VERSION" | ||
elif [ -e venv/bin/python ] && test "$MACOS"; then | ||
echo "Installing chiavdf dependencies for MacOS." | ||
brew install --formula --quiet boost cmake gmp | ||
# The most recent boost version causes compile errors. | ||
brew install --formula --quiet [email protected] cmake gmp | ||
# [email protected] is keg-only, which means it was not symlinked into /usr/local, | ||
# because this is an alternate version of another formula. | ||
export LDFLAGS="-L/usr/local/opt/[email protected]/lib" | ||
export CPPFLAGS="-I/usr/local/opt/[email protected]/include" | ||
echo "Installing chiavdf from source." | ||
# User needs to provide required packages | ||
echo venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION" | ||
|