Skip to content

Commit

Permalink
Build both 3.5.5 and 3.7.6 (for the various macos LO bundled pythons)
Browse files Browse the repository at this point in the history
Newest LO on mac bundles 3.7.6
  • Loading branch information
unhammer committed Feb 25, 2020
1 parent 2c216a8 commit a66fa8e
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions scripts/travis-build
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,20 @@ sudo make install

if [[ $TRAVIS_OS_NAME = osx && $CC = clang ]]; then
# Rebuild with python 3.5.4, should give us two _libdivvun*so's with different names in /usr/local/lib/…
eval "$(pyenv init -)"
pyenv install 3.5.4
pyenv global 3.5.4
./configure "$@"
(
cd python
make clean
make
)
make -j3
sudo make install
for version in "3.5.5" "3.7.6"; do
(
eval "$(pyenv init -)"
pyenv install "${version}"
pyenv global "${version}"
./configure "$@"
(
cd python
make clean
make
)
make -j3
sudo make install
)
done
scripts/bundle_mac_libs
fi

0 comments on commit a66fa8e

Please sign in to comment.