mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Toolchain: Fix caching in install_elpa.sh
This commit is contained in:
parent
452edd363d
commit
a1667111d3
1 changed files with 11 additions and 11 deletions
|
|
@ -47,6 +47,17 @@ case "$with_elpa" in
|
|||
echo "==================== Installing ELPA ===================="
|
||||
pkg_install_dir="${INSTALLDIR}/elpa-${elpa_ver}"
|
||||
install_lock_file="$pkg_install_dir/install_successful"
|
||||
enable_openmp="yes"
|
||||
|
||||
# specific settings needed on CRAY Linux Environment
|
||||
if [ "$ENABLE_CRAY" = "__TRUE__" ]; then
|
||||
if [ ${CRAY_PRGENVCRAY} ]; then
|
||||
# extra LDFLAGS needed
|
||||
cray_ldflags="-dynamic"
|
||||
fi
|
||||
enable_openmp="no"
|
||||
fi
|
||||
|
||||
if verify_checksums "${install_lock_file}"; then
|
||||
echo "elpa-${elpa_ver} is already installed, skipping it."
|
||||
else
|
||||
|
|
@ -74,17 +85,6 @@ case "$with_elpa" in
|
|||
patch -p1 < "${patch}"
|
||||
done
|
||||
|
||||
enable_openmp="yes"
|
||||
|
||||
# specific settings needed on CRAY Linux Environment
|
||||
if [ "$ENABLE_CRAY" = "__TRUE__" ]; then
|
||||
if [ ${CRAY_PRGENVCRAY} ]; then
|
||||
# extra LDFLAGS needed
|
||||
cray_ldflags="-dynamic"
|
||||
fi
|
||||
enable_openmp="no"
|
||||
fi
|
||||
|
||||
# ELPA-2017xxxx enables AVX2 by default, switch off if machine doesn't support it.
|
||||
AVX_flag=""
|
||||
AVX512_flags=""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue