From 1bf3245ba7bbe5e28a1f9543a50c5a120a47d844 Mon Sep 17 00:00:00 2001 From: vsc46128 Date: Tue, 2 Jul 2024 12:19:54 +0200 Subject: [PATCH 1/2] only use libxsmm as dependency for CP2K 2023.1 on x86_64 --- easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb b/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb index d16e202463a..56e829c5b84 100644 --- a/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb +++ b/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb @@ -25,11 +25,15 @@ builddependencies = [ dependencies = [ ('Libint', '2.7.2', '-lmax-6-cp2k'), ('libxc', '6.2.2'), - ('libxsmm', '1.17'), ('libvori', '220621'), ('FFTW', '3.3.10'), ('PLUMED', '2.9.0'), ] +if ARCH == 'x86_64': + # LIBXSMM is not supported supported on ARM with GCC 12.2.0 and 12.3.0, see https://www.cp2k.org/dev:compiler_support + dependencies += [ + ('libxsmm', '1.17'), + ] type = 'psmp' From ae08bf9f3bbd3faf244f5029d5cff4910af22fe5 Mon Sep 17 00:00:00 2001 From: vsc46128 Date: Tue, 2 Jul 2024 12:41:08 +0200 Subject: [PATCH 2/2] split up long line --- easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb b/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb index 56e829c5b84..d9ace4b896b 100644 --- a/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb +++ b/easybuild/easyconfigs/c/CP2K/CP2K-2023.1-foss-2023a.eb @@ -30,7 +30,8 @@ dependencies = [ ('PLUMED', '2.9.0'), ] if ARCH == 'x86_64': - # LIBXSMM is not supported supported on ARM with GCC 12.2.0 and 12.3.0, see https://www.cp2k.org/dev:compiler_support + # LIBXSMM is not supported supported on ARM with GCC 12.2.0 and 12.3.0 + # see https://www.cp2k.org/dev:compiler_support dependencies += [ ('libxsmm', '1.17'), ]