summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-06-23 18:14:01 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2017-06-23 11:14:01 -0500
commit087b3885f934b5fc1449a32eeb26241efb436e0b (patch)
tree7999dfb49d7a23db574f5072c719a9b0b30982d1
parent7fb9c3903fc523fbae785475629114daf677b6a5 (diff)
downloadspack-087b3885f934b5fc1449a32eeb26241efb436e0b.tar.gz
spack-087b3885f934b5fc1449a32eeb26241efb436e0b.tar.bz2
spack-087b3885f934b5fc1449a32eeb26241efb436e0b.tar.xz
spack-087b3885f934b5fc1449a32eeb26241efb436e0b.zip
cp2k: added missing macros to the makefile (#88) (#4589)
-rw-r--r--var/spack/repos/builtin/packages/cp2k/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cp2k/package.py b/var/spack/repos/builtin/packages/cp2k/package.py
index 00d6052121..2a41de54e0 100644
--- a/var/spack/repos/builtin/packages/cp2k/package.py
+++ b/var/spack/repos/builtin/packages/cp2k/package.py
@@ -93,6 +93,8 @@ class Cp2k(Package):
cppflags = [
'-D__FFTW3',
'-D__LIBINT',
+ '-D__LIBINT_MAX_AM=6',
+ '-D__LIBDERIV_MAX_AM1=5',
spec['fftw'].headers.cpp_flags
]