back to python3.7 to speed up travis mac builds

This commit is contained in:
edoapra 2020-11-17 22:13:54 -08:00
parent 42490b7603
commit 2b55219931
No known key found for this signature in database
GPG key ID: 472C4EBB4F3AEDFA
3 changed files with 6 additions and 6 deletions

View file

@ -1,9 +1,9 @@
#!/bin/bash
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# HOMEBREW_NO_AUTO_UPDATE=1 brew cask uninstall oclint || true
HOMEBREW_NO_AUTO_UPDATE=1 brew install gcc "$MPI_IMPL" openblas python@3.8 ||true
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install gcc "$MPI_IMPL" openblas python@3.7 ||true
if [[ "$MPI_IMPL" == "openmpi" ]]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install scalapack
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install scalapack
fi
fi
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then

View file

@ -32,8 +32,8 @@ fi
if [[ ! -z "$USE_SIMINT" ]] ; then
FOPT="-O0 -fno-aggressive-loop-optimizations"
SIMINT_BUILD_TYPE=Debug
export PATH="/usr/local/opt/python@3.8/bin:$PATH"
# export LDFLAGS="-L/usr/local/opt/python@3.8/lib:$LDFLAGS"
export PATH="/usr/local/opt/python@3.7/bin:$PATH"
# export LDFLAGS="-L/usr/local/opt/python@3.7/lib:$LDFLAGS"
fi
../travis/sleep_loop.sh make V=1 FOPTIMIZE="$FOPT" FDEBUG="$FDOPT" -j3
cd $TRAVIS_BUILD_DIR/src/64to32blas

View file

@ -23,8 +23,8 @@ if [[ "$os" == "Darwin" ]]; then
if [[ "$MPI_IMPL" == "mpich" ]]; then
export PATH=/usr/local/opt/mpich/bin/:$PATH
fi
export PATH=/usr/local/opt/python@3.8/bin:$PATH
export PYTHONVERSION=3.8
export PATH=/usr/local/opt/python@3.7/bin:$PATH
export PYTHONVERSION=3.7
fi
if [[ "$os" == "Linux" ]]; then