Skip to content

Commit

Permalink
make python 3.8 osx builds work
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed Jan 14, 2020
1 parent ed746c2 commit 00cf2f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wheel/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,11 @@ export INSTALL_TEST=0 # dont install test binaries into site-packages
export MACOSX_DEPLOYMENT_TARGET=10.10
export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}

retry conda install -yq cmake numpy==1.11.3 nomkl setuptools pyyaml cffi typing ninja requests
if [[ "$desired_python" == 3.8 ]]; then
retry conda install -yq cmake numpy=1.15 nomkl setuptools pyyaml ninja requests
else
retry conda install -yq cmake numpy==1.11.3 nomkl setuptools pyyaml cffi typing ninja requests
fi
retry conda install -yq mkl-include==2019.5 mkl-static==2019.5 -c intel
retry pip install -qr "${pytorch_rootdir}/requirements.txt" || true

Expand Down

0 comments on commit 00cf2f7

Please sign in to comment.