summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authort-karatsu <49965247+t-karatsu@users.noreply.github.com>2019-12-19 04:47:21 +0900
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-18 13:47:21 -0600
commit135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8 (patch)
tree51ae4397debf865294da1db02662b90f8f023998 /var
parent52894f5c718bb3b4605e2f1dc7ed09ffb9aab18c (diff)
downloadspack-135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8.tar.gz
spack-135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8.tar.bz2
spack-135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8.tar.xz
spack-135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8.zip
amrex: Define module directry when compiling with Fujitsu compiler. (#14124)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/amrex/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py
index 234584927b..ef444cf39c 100644
--- a/var/spack/repos/builtin/packages/amrex/package.py
+++ b/var/spack/repos/builtin/packages/amrex/package.py
@@ -79,4 +79,7 @@ class Amrex(CMakePackage):
'-DENABLE_PARTICLES:BOOL=%s' % self.cmake_is_on('+particles'),
'-DENABLE_SUNDIALS:BOOL=%s' % self.cmake_is_on('+sundials')
]
+ if self.spec.satisfies('%fj'):
+ args.append('-DCMAKE_Fortran_MODDIR_FLAG=-M')
+
return args