macos: silence brew warnings

This commit is contained in:
edoapra 2024-08-12 09:56:06 -07:00
parent 2a6491e05d
commit 809658469c
No known key found for this signature in database
GPG key ID: 9E6A0B70826967BA

View file

@ -108,7 +108,8 @@ fi
brew update || true
brew list open-mpi >& /dev/null ; myexit=$?
if [[ $myexit == 0 ]]; then brew unlink open-mpi || true ; fi
brew reinstall mpich && brew upgrade mpich && brew link --overwrite mpich || true
brew reinstall --quiet mpich && brew unlink mpich && brew link mpich || true
## brew reinstall --quiet mpich || true
fi
if [[ "$BLAS_ENV" == "brew_openblas" ]]; then
brew install openblas
@ -118,7 +119,7 @@ fi
PKG_CONFIG_PATH=$HOMEBREW_PREFIX/opt/openblas/lib/pkgconfig pkg-config --libs openblas
fi
# if [[ "$MPI_IMPL" == "openmpi" ]]; then
# HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install scalapack
# HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install --quiet scalapack
# fi
fi
if [[ "$os" == "Linux" ]]; then