From a823b2d910b121a2897331bfd2cbedd90eaedf00 Mon Sep 17 00:00:00 2001 From: Gene Hoffman Date: Wed, 8 Apr 2020 12:50:30 -0700 Subject: [PATCH] install-timelord installs boost on MacOS --- .github/workflows/pythonpackage.yml | 1 - install-timelord.sh | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index a3a6fe6b57..a39c96b415 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -42,7 +42,6 @@ jobs: sh install-timelord.sh - name: Install developer requirements run: | - brew install boost venv/bin/python -m pip install -r requirements-dev.txt - name: Lint source with flake8 run: | diff --git a/install-timelord.sh b/install-timelord.sh index 44ceea10cb..8f84dbb4e1 100644 --- a/install-timelord.sh +++ b/install-timelord.sh @@ -12,22 +12,22 @@ elif [ `uname` = "Darwin" ]; echo "Found MacOS" fi -if [ -e $THE_PATH ] +if [ -e $THE_PATH ] && ! $MACOS then echo $THE_PATH echo "vdf_client already exists, no action taken" else if [ -e venv/bin/python ] && test $UBUNTU_DEBIAN then - echo "installing chiavdf from source on Ubuntu/Debian" + echo "Installing chiavdf from source on Ubuntu/Debian" # Install needed development tools sudo apt-get install cmake libgmp-dev libboost-python-dev libpython3.7-dev libboost-system-dev -y echo venv/bin/python -m pip install --force --no-binary chiavdf $CHIAVDF_VERSION venv/bin/python -m pip install --force --no-binary chiavdf $CHIAVDF_VERSION elif [ -e venv/bin/python ] && test $MACOS then - echo "installing chiavdf from source on MacOS" - brew install cmake gmp boost boost-python3 + echo "Installing chiavdf requirements for MacOS" + brew install boost elif [ -e venv/bin/python ] then echo "installing chiavdf from source"