Add boost to MacOS dev reqs
This commit is contained in:
parent
66e277a3c3
commit
e39f497fe6
2 changed files with 8 additions and 0 deletions
1
.github/workflows/pythonpackage.yml
vendored
1
.github/workflows/pythonpackage.yml
vendored
|
@ -42,6 +42,7 @@ jobs:
|
||||||
sh install-timelord.sh
|
sh install-timelord.sh
|
||||||
- name: Install developer requirements
|
- name: Install developer requirements
|
||||||
run: |
|
run: |
|
||||||
|
brew install boost
|
||||||
venv/bin/python -m pip install -r requirements-dev.txt
|
venv/bin/python -m pip install -r requirements-dev.txt
|
||||||
- name: Lint source with flake8
|
- name: Lint source with flake8
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -7,6 +7,9 @@ CHIAVDF_VERSION=`python -c 'from setup import dependencies; t = [_ for _ in depe
|
||||||
if [ `uname` = "Linux" ] && type apt-get;
|
if [ `uname` = "Linux" ] && type apt-get;
|
||||||
then UBUNTU_DEBIAN=true
|
then UBUNTU_DEBIAN=true
|
||||||
echo "Found Ubuntu/Debian"
|
echo "Found Ubuntu/Debian"
|
||||||
|
elif [ `uname` = "Darwin" ];
|
||||||
|
then MACOS=true
|
||||||
|
echo "Found MacOS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e $THE_PATH ]
|
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
|
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
|
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
|
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 ]
|
elif [ -e venv/bin/python ]
|
||||||
then
|
then
|
||||||
echo "installing chiavdf from source"
|
echo "installing chiavdf from source"
|
||||||
|
|
Loading…
Reference in a new issue