mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 14:15:30 -04:00
fix failures for macos gfortran-9
This commit is contained in:
parent
c7971bdc48
commit
d12c2ff0ca
1 changed files with 7 additions and 0 deletions
|
|
@ -29,6 +29,13 @@ echo DISTR is "$DISTR"
|
|||
# HOMEBREW_NO_AUTO_UPDATE=1 brew cask uninstall oclint || true
|
||||
# HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install gcc "$MPI_IMPL" openblas python3 ||true
|
||||
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install gcc "$MPI_IMPL" python3 gsed grep automake autoconf ||true
|
||||
if [[ "$FC" != "gfortran" ]]; then
|
||||
#install non default gfortran, ie gfortran-9
|
||||
#get version
|
||||
mygccver=$(echo "$FC"|cut -d - -f 2)
|
||||
echo mygccver is "$mygccver"
|
||||
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew reinstall gcc@"$mygccver" || true
|
||||
fi
|
||||
#hack to fix Github actions mpif90
|
||||
gccver=`brew list --versions gcc| head -1 |cut -c 5-`
|
||||
echo brew gccver is $gccver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue