mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 02:24:23 -05:00
CHIA-3718 Handle building chiavdf for MacOS when CMake is already installed (#20018)
Handle building chiavdf for MacOS when CMake is already installed.
This commit is contained in:
+4
-1
@@ -113,8 +113,11 @@ else
|
||||
symlink_vdf_bench "$PYTHON_VERSION"
|
||||
elif [ -e venv/bin/python ] && test "$MACOS"; then
|
||||
echo "Installing chiavdf dependencies for MacOS."
|
||||
if ! cmake --version >/dev/null 2>&1; then
|
||||
brew install --formula --quiet cmake
|
||||
fi
|
||||
# The most recent boost version causes compile errors.
|
||||
brew install --formula --quiet boost@1.85 cmake gmp
|
||||
brew install --formula --quiet boost@1.85 gmp
|
||||
# boost@1.85 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/boost@1.85/lib"
|
||||
|
||||
Reference in New Issue
Block a user