Skip to content

Commit

Permalink
fix error in MacOS installation
Browse files Browse the repository at this point in the history
  • Loading branch information
morgoth95 committed Mar 1, 2022
1 parent fb66d87 commit a674d50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions nebullvm/installers/install_tvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ cp $CONFIG_PATH build/
cd build
cmake ..
make -j8
cd ../python
python3 setup.py install --user
cd ../..
if [[ $OSTYPE == "darwin"* ]]
then
pip install tornado
brew install openblas gfortran
pip install pybind11 cython pythran
conda install -y scipy
pip install xgboost decorator
export MACOSX_DEPLOYMENT_TARGET=10.9
else
pip3 install decorator attrs tornado psutil xgboost cloudpickle
fi
fi
cd ../python
python3 setup.py install --user
cd ../..
3 changes: 2 additions & 1 deletion nebullvm/installers/install_tvm_prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export DEBIAN_FRONTEND=noninteractive
if [[ $OSTYPE == "darwin"* ]]
then
brew install gcc git cmake
brew install llvm
#brew install llvm
conda install -y -c conda-forge clangdev
elif [[ "$(grep '^ID_LIKE' /etc/os-release)" == *"centos"* ]]
then
sudo yum update -y && sudo yum install -y gcc gcc-c++ llvm-devel cmake3 git
Expand Down

0 comments on commit a674d50

Please sign in to comment.