Add boost to MacOS dev reqs

This commit is contained in:
Gene Hoffman 2020-04-08 12:42:12 -07:00
parent 66e277a3c3
commit e39f497fe6
No known key found for this signature in database
GPG Key ID: AE8989DA18CADC80
2 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,7 @@ 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: |

View File

@ -7,6 +7,9 @@ CHIAVDF_VERSION=`python -c 'from setup import dependencies; t = [_ for _ in depe
if [ `uname` = "Linux" ] && type apt-get;
then UBUNTU_DEBIAN=true
echo "Found Ubuntu/Debian"
elif [ `uname` = "Darwin" ];
then MACOS=true
echo "Found MacOS"
fi
if [ -e $THE_PATH ]
@ -21,6 +24,10 @@ else
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
elif [ -e venv/bin/python ]
then
echo "installing chiavdf from source"