mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-29 13:28:11 +03:00
Add boost to MacOS dev reqs
This commit is contained in:
parent
66e277a3c3
commit
e39f497fe6
1
.github/workflows/pythonpackage.yml
vendored
1
.github/workflows/pythonpackage.yml
vendored
@ -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: |
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user