Skip to content

Commit

Permalink
toolchain: version bump sirius to 6.1.5, libvdwxc to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-zero committed Apr 30, 2019
1 parent a031503 commit b7fbd04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 3 additions & 4 deletions tools/toolchain/scripts/install_libvdwxc.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash -e
[ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd -P)"
libvdwxc_ver="master-429a80027a2ec2c97e2f6d9a3dc84843f2739865"
libvdwxc_sha256="6185bd9d8d679b979794f4ab3eb9f5652157b4971d94097d7f2791c186eda9c8"
libvdwxc_ver="0.4.0"
libvdwxc_sha256="3524feb5bb2be86b4688f71653502146b181e66f3f75b8bdaf23dd1ae4a56b33"

source "${SCRIPT_DIR}"/common_vars.sh
source "${SCRIPT_DIR}"/tool_kit.sh
Expand Down 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://www.cp2k.org/static/downloads/libvdwxc-${libvdwxc_ver}.tar.gz
"https://launchpad.net/libvdwxc/stable/${libvdwxc_ver}/+download/libvdwxc-${libvdwxc_ver}.tar.gz"
fi

for patch in "${patches[@]}" ; do
Expand All @@ -62,7 +62,6 @@ case "$with_libvdwxc" in
patch -p1 < ../"${patch##*/}"
done
unset MPICC MPICXX MPIF90 MPIFC MPIF77
./autogen.sh > configure.log 2>&1
if [ "$MPI_MODE" = "no" ]; then
# compile libvdwxc without mpi support since fftw (or mkl) do not have mpi support activated
./configure \
Expand Down
7 changes: 4 additions & 3 deletions tools/toolchain/scripts/install_sirius.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
[ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")" && pwd -P)"

sirius_ver="6.1.2"
sirius_sha256="40ea3a7e2a2a6c87cb3e4d8c2fba977eb74dc212c198b1a38cdbb262f9807b4a"
sirius_ver="6.1.5"
sirius_sha256="379f0a2e5208fd6d91c2bd4939c3a5c40002975fb97652946fa1bfe4a3ef97cb"
source "${SCRIPT_DIR}"/common_vars.sh
source "${SCRIPT_DIR}"/tool_kit.sh
source "${SCRIPT_DIR}"/signal_trap.sh
Expand Down Expand Up @@ -84,7 +84,8 @@ case "$with_sirius" in
else

download_pkg ${DOWNLOADER_FLAGS} ${sirius_sha256} \
https://www.cp2k.org/static/downloads/SIRIUS-${sirius_ver}.tar.gz
"https://github.com/electronic-structure/SIRIUS/archive/v${sirius_ver}.tar.gz" \
-o SIRIUS-${sirius_ver}.tar.gz
fi
echo "Installing from scratch into ${pkg_install_dir}"
[ -d sirius-${sirius_ver} ] && rm -rf sirius-${sirius_ver}
Expand Down

0 comments on commit b7fbd04

Please sign in to comment.