make pretty

This commit is contained in:
Matthias Krack 2026-02-24 14:23:56 +01:00
parent 56c4d063ae
commit dadd5bfba6

View file

@ -843,7 +843,7 @@ if [[ ! -d "${SPACK_BUILD_PATH}" ]]; then
-e "0,/~cuda/s//+cuda cuda_arch=${CUDA_ARCH}/" \
-e '/\s*#\s*-\s+"\+cuda\s+\+gpu_direct"/ s/#/ /' \
-i "${CP2K_CONFIG_FILE}"
# -e '/\s*#\s*-\s+"\+cuda\s+\+gdrcopy"/ s/#/ /' \
# -e '/\s*#\s*-\s+"\+cuda\s+\+gdrcopy"/ s/#/ /' \
if [[ -n "${CUDA_VERSION:-}" ]]; then
sed -E -e "s/spec:\s+cuda@[.0-9]*/spec: cuda@${CUDA_VERSION}/" -i "${CP2K_CONFIG_FILE}"
fi