Skip to content

Commit

Permalink
add python 3.8 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed Jan 14, 2020
1 parent ac15471 commit 7f73f1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/scripts/binary_linux_test.sh
Expand Up @@ -11,6 +11,8 @@ if [[ "$PACKAGE_TYPE" == conda ]]; then
source activate testenv >/dev/null
elif [[ "$DESIRED_PYTHON" == 2.7mu ]]; then
export PATH="/opt/python/cp27-cp27mu/bin:\$PATH"
elif [[ "$DESIRED_PYTHON" == 3.8m ]]; then
export PATH="/opt/python/cp38-cp38/bin:\$PATH"
elif [[ "$PACKAGE_TYPE" != libtorch ]]; then
python_nodot="\$(echo $DESIRED_PYTHON | tr -d m.u)"
export PATH="/opt/python/cp\$python_nodot-cp\${python_nodot}m/bin:\$PATH"
Expand Down

0 comments on commit 7f73f1d

Please sign in to comment.