From c2cd728e03058196cd8f4f503a5f54eb3418e464 Mon Sep 17 00:00:00 2001 From: darmac Date: Sat, 1 Aug 2020 05:17:31 +0800 Subject: [PATCH] cp2k: support for aarch64 (#17786) --- var/spack/repos/builtin/packages/cp2k/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/cp2k/package.py b/var/spack/repos/builtin/packages/cp2k/package.py index 914d43e52d..1ea4d44640 100644 --- a/var/spack/repos/builtin/packages/cp2k/package.py +++ b/var/spack/repos/builtin/packages/cp2k/package.py @@ -148,6 +148,10 @@ class Cp2k(MakefilePackage, CudaPackage): conflicts('%clang') conflicts('%nag') + # please set variants: smm=blas by configuring packages.yaml or install + # cp2k with option smm=blas on aarch64 + conflicts('smm=libxsmm', when='target=aarch64:', msg='libxsmm is not available on arm') + @property def makefile_architecture(self): return '{0.architecture}-{0.compiler.name}'.format(self.spec)