-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* try to fix python3.6-3.8 on macOS build * fix missing env in .travis/install.sh * try to cover python-3.8.1 build on osx (#409) * try to cover python 3.8 build on osx, fix ci_setup.py * fix python/build.py & python/taichi/misc/util.py, platform value issue when using python 3.8
- Loading branch information
Showing
5 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# use brew & pyenv to build specific python on osx | ||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then | ||
export PATH="$HOME/.pyenv/bin:$PATH" | ||
eval "${MATRIX_EVAL}" | ||
echo "python version: $PYTHON_VERSION" | ||
brew update > /dev/null | ||
brew upgrade pyenv | ||
# use pyenv to build python | ||
eval "$(pyenv init -)" | ||
pyenv install $PYTHON_VERSION | ||
pyenv global $PYTHON_VERSION | ||
pyenv rehash | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters