mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 22:25:48 -04:00
more pkgs in retry loop
This commit is contained in:
parent
d139c7a42f
commit
c7a01d66b4
1 changed files with 9 additions and 8 deletions
|
|
@ -143,18 +143,19 @@ if [[ "$os" == "Linux" ]]; then
|
|||
sudo apt-get update
|
||||
sudo apt-get -y install software-properties-common
|
||||
sudo add-apt-repository universe && sudo apt-get update
|
||||
pkg_extra=" "
|
||||
if [[ "$FC" == "gfortran-11" ]] || [[ "$CC" == "gcc-11" ]]; then
|
||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
pkg_extra+=" gcc-11 gfortran-11 g++-11 "
|
||||
fi
|
||||
if [[ "$USE_LIBXC" == "-1" ]]; then
|
||||
pkg_extra+=" libxc-dev "
|
||||
fi
|
||||
tries=0 ; until [ "$tries" -ge 10 ] ; do \
|
||||
sudo apt-get -y install gfortran python3-dev make perl python3 rsync "$mpi_libdev" "$mpi_bin" \
|
||||
sudo apt-get -y install gfortran python3-dev make perl python3 rsync "$mpi_libdev" "$mpi_bin" "$pkg_extra" \
|
||||
&& break ;\
|
||||
tries=$((tries+1)) ; echo attempt no. $tries ; sleep 30 ; done
|
||||
|
||||
if [[ "$FC" == "gfortran-11" ]] || [[ "$CC" == "gcc-11" ]]; then
|
||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
sudo apt-get -y install gcc-11 gfortran-11 g++-11
|
||||
fi
|
||||
fi
|
||||
if [[ "$USE_LIBXC" == "-1" ]]; then
|
||||
sudo apt-get -y install libxc-dev
|
||||
fi
|
||||
if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]]; then
|
||||
sh ./"$base".sh -a -c -s --action remove --install-dir $IONEAPI_ROOT --eula accept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue