diff --git a/nebullvm/installers/install_tvm.sh b/nebullvm/installers/install_tvm.sh index 6c38ae74..0d0e4a3f 100644 --- a/nebullvm/installers/install_tvm.sh +++ b/nebullvm/installers/install_tvm.sh @@ -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 \ No newline at end of file +fi +cd ../python +python3 setup.py install --user +cd ../.. diff --git a/nebullvm/installers/install_tvm_prerequisites.sh b/nebullvm/installers/install_tvm_prerequisites.sh index d23f8a5c..fb294530 100644 --- a/nebullvm/installers/install_tvm_prerequisites.sh +++ b/nebullvm/installers/install_tvm_prerequisites.sh @@ -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