Skip to content

Commit

Permalink
Toolchain: Download all non-Github dependency from cp2k.org
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Jul 12, 2019
1 parent 3e58b4d commit 5c2ec8b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tools/toolchain/scripts/install_fftw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ case "$with_fftw" in
echo "fftw-${fftw_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${fftw_sha256} \
http://www.fftw.org/fftw-${fftw_ver}.tar.gz
"https://www.cp2k.org/static/downloads/fftw-${fftw_ver}.tar.gz"
fi
echo "Installing from scratch into ${pkg_install_dir}"
[ -d fftw-${fftw_ver} ] && rm -rf fftw-${fftw_ver}
Expand Down
2 changes: 1 addition & 1 deletion tools/toolchain/scripts/install_gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ case "$with_gcc" in
echo "gcc-${gcc_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${gcc_sha256} \
https://ftp.gnu.org/gnu/gcc/gcc-${gcc_ver}/gcc-${gcc_ver}.tar.gz
"https://www.cp2k.org/static/downloads/gcc-${gcc_ver}.tar.gz"
fi
[ -d gcc-${gcc_ver} ] && rm -rf gcc-${gcc_ver}
tar -xzf gcc-${gcc_ver}.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion tools/toolchain/scripts/install_gsl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ case "$with_gsl" in
echo "gsl-${gsl_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${gls_sha256} \
https://ftp.gnu.org/gnu/gsl/gsl-${gsl_ver}.tar.gz
"https://www.cp2k.org/static/downloads/gsl-${gsl_ver}.tar.gz"
fi
echo "Installing from scratch into ${pkg_install_dir}"
[ -d gsl-${gsl_ver} ] && rm -rf gsl-${gsl_ver}
Expand Down
2 changes: 1 addition & 1 deletion tools/toolchain/scripts/install_libvdwxc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ case "$with_libvdwxc" in
else
# do not remove this. They do not publish official version often
download_pkg ${DOWNLOADER_FLAGS} ${libvdwxc_sha256} \
"https://launchpad.net/libvdwxc/stable/${libvdwxc_ver}/+download/libvdwxc-${libvdwxc_ver}.tar.gz"
"https://www.cp2k.org/static/downloads/libvdwxc-${libvdwxc_ver}.tar.gz"
fi

for patch in "${patches[@]}" ; do
Expand Down
2 changes: 1 addition & 1 deletion tools/toolchain/scripts/install_openmpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ case "$with_openmpi" in
echo "openmpi-${openmpi_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${openmpi_sha256} \
https://download.open-mpi.org/release/open-mpi/v${openmpi_ver%.*}/openmpi-${openmpi_ver}.tar.gz
"https://www.cp2k.org/static/downloads/openmpi-${openmpi_ver}.tar.gz"
fi
echo "Installing from scratch into ${pkg_install_dir}"
[ -d openmpi-${openmpi_ver} ] && rm -rf openmpi-${openmpi_ver}
Expand Down

0 comments on commit 5c2ec8b

Please sign in to comment.