diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/arpack-ng/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/arpack-ng/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/arpack-ng/package.py b/var/spack/repos/builtin/packages/arpack-ng/package.py index 35a263541f..1698a0e4bd 100644 --- a/var/spack/repos/builtin/packages/arpack-ng/package.py +++ b/var/spack/repos/builtin/packages/arpack-ng/package.py @@ -85,6 +85,12 @@ class ArpackNg(Package): libraries, root=self.prefix, shared=True, recursive=True ) + @when('@:3.7.0 %gcc@10:') + def setup_build_environment(self, env): + # version up to and including 3.7.0 are not ported to gcc 10 + # https://github.com/opencollab/arpack-ng/issues/242 + env.set('FFLAGS', '-fallow-argument-mismatch') + @when('@3.4.0:') def install(self, spec, prefix): |