Skip to content

Commit

Permalink
CHIA-2091 Use boost v1.85 when compiling chiavdf from source on macos…
Browse files Browse the repository at this point in the history
…-intel (#19065)
  • Loading branch information
AmineKhaldi authored Dec 18, 2024
1 parent 45465b4 commit 1951022
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion install-timelord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1951022

Please sign in to comment.