Skip to content

Commit

Permalink
Toolchain: Download all package from cp2k.org
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Oct 4, 2022
1 parent efffbaa commit d6c4295
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion tools/toolchain/scripts/stage3/install_libint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ case "$with_libint" in
echo "${libint_pkg} is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${libint_sha256} \
https://github.com/cp2k/libint-cp2k/releases/download/v${libint_ver}/${libint_pkg}
"https://www.cp2k.org/static/downloads/${libint_pkg}"
fi

[ -d libint-v${libint_ver}-cp2k-lmax-${LIBINT_LMAX} ] && rm -rf libint-v${libint_ver}-cp2k-lmax-${LIBINT_LMAX}
Expand Down
3 changes: 1 addition & 2 deletions tools/toolchain/scripts/stage4/install_cosma.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ case "$with_cosma" in
echo "COSMA-v${cosma_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${cosma_sha256} \
"https://github.com/eth-cscs/COSMA/releases/download/v${cosma_ver}/cosma.tar.gz" \
-o COSMA-v${cosma_ver}.tar.gz
"https://www.cp2k.org/static/downloads/COSMA-v${cosma_ver}.tar.gz"
fi
echo "Installing from scratch into ${pkg_install_dir}"
[ -d COSMA-${cosma_ver} ] && rm -rf COSMA-${cosma_ver}
Expand Down
2 changes: 1 addition & 1 deletion tools/toolchain/scripts/stage6/install_plumed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ case "$with_plumed" in
echo "${plumed_pkg} is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${plumed_sha256} \
"https://github.com/plumed/plumed2/releases/download/v${plumed_ver}/${plumed_pkg}"
"https://www.cp2k.org/static/downloads/${plumed_pkg}"
fi

[ -d plumed-${plumed_ver} ] && rm -rf plumed-${plumed_ver}
Expand Down
3 changes: 1 addition & 2 deletions tools/toolchain/scripts/stage7/install_spglib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ case "$with_spglib" in
echo "spglib-${spglib_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${spglib_sha256} \
https://github.com/spglib/spglib/archive/v${spglib_ver}.tar.gz \
-o spglib-${spglib_ver}.tar.gz
"https://www.cp2k.org/static/downloads/v${spglib_ver}.tar.gz"
fi

echo "Installing from scratch into ${pkg_install_dir}"
Expand Down
3 changes: 1 addition & 2 deletions tools/toolchain/scripts/stage8/install_sirius.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ case "$with_sirius" in
echo "sirius_${sirius_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${sirius_sha256} \
"https://github.com/electronic-structure/SIRIUS/archive/v${sirius_ver}.tar.gz" \
-o SIRIUS-${sirius_ver}.tar.gz
"https://www.cp2k.org/static/downloads/SIRIUS-${sirius_ver}.tar.gz"
fi

echo "Installing from scratch into ${pkg_install_dir}"
Expand Down
3 changes: 1 addition & 2 deletions tools/toolchain/scripts/stage8/install_spfft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ case "${with_spfft}" in
echo "SpFFT-${spfft_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${spfft_sha256} \
"https://github.com/eth-cscs/SpFFT/archive/v${spfft_ver}.tar.gz" \
-o SpFFT-${spfft_ver}.tar.gz
"https://www.cp2k.org/static/downloads/SpFFT-${spfft_ver}.tar.gz"

fi
if [ "${MATH_MODE}" = "mkl" ]; then
Expand Down
3 changes: 1 addition & 2 deletions tools/toolchain/scripts/stage8/install_spla.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ case "${with_spla}" in
echo "SpLA-${spla_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${spla_sha256} \
"https://github.com/eth-cscs/Spla/archive/v${spla_ver}.tar.gz" \
-o SpLA-${spla_ver}.tar.gz
"https://www.cp2k.org/static/downloads/SpLA-${spla_ver}.tar.gz"

fi
echo "Installing from scratch into ${pkg_install_dir}"
Expand Down

0 comments on commit d6c4295

Please sign in to comment.