diff options
author | t-karatsu <49965247+t-karatsu@users.noreply.github.com> | 2019-10-15 14:20:52 +0900 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-14 22:20:52 -0700 |
commit | 8f69c9d3340b96ccbd3c4a7ae2e0f49cd212f8bc (patch) | |
tree | f1a9ea4e8055fc8c9b2d16492a222a3463a347cf /var | |
parent | 5cd28847e81b3a1bf659d184c990ba9144974624 (diff) | |
download | spack-8f69c9d3340b96ccbd3c4a7ae2e0f49cd212f8bc.tar.gz spack-8f69c9d3340b96ccbd3c4a7ae2e0f49cd212f8bc.tar.bz2 spack-8f69c9d3340b96ccbd3c4a7ae2e0f49cd212f8bc.tar.xz spack-8f69c9d3340b96ccbd3c4a7ae2e0f49cd212f8bc.zip |
ntpoly: Define module directry when compiling with Fujitsu compiler. (#13120)
* ntpoly: Define module directry when compiling with Fujitsu compiler.
* Delete quotes.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/ntpoly/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ntpoly/package.py b/var/spack/repos/builtin/packages/ntpoly/package.py index 1fb459a610..d390e19dba 100644 --- a/var/spack/repos/builtin/packages/ntpoly/package.py +++ b/var/spack/repos/builtin/packages/ntpoly/package.py @@ -26,4 +26,7 @@ class Ntpoly(CMakePackage): def cmake_args(self): args = ["-DNOSWIG=Yes"] + if self.spec.satisfies('%fj'): + args.append('-DCMAKE_Fortran_MODDIR_FLAG=-M') + return args |