cp2k: support for aarch64 (#17786)

This commit is contained in:
darmac 2020-08-01 05:17:31 +08:00 committed by GitHub
parent 46e7fbe120
commit c2cd728e03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,6 +148,10 @@ class Cp2k(MakefilePackage, CudaPackage):
conflicts('%clang') conflicts('%clang')
conflicts('%nag') 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 @property
def makefile_architecture(self): def makefile_architecture(self):
return '{0.architecture}-{0.compiler.name}'.format(self.spec) return '{0.architecture}-{0.compiler.name}'.format(self.spec)