diff options
author | lorddavidiii <githuh@qi0.de> | 2020-06-18 14:43:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 14:43:52 +0200 |
commit | 68c13d76f9b12dcd777a915426aa2a552944fb45 (patch) | |
tree | 05f1df7b57f04c3c0e074157c8419fd8f09cba96 | |
parent | 2a13bad8eb6a8045228359afda8451c7a6dd3b60 (diff) | |
download | spack-68c13d76f9b12dcd777a915426aa2a552944fb45.tar.gz spack-68c13d76f9b12dcd777a915426aa2a552944fb45.tar.bz2 spack-68c13d76f9b12dcd777a915426aa2a552944fb45.tar.xz spack-68c13d76f9b12dcd777a915426aa2a552944fb45.zip |
arpack-ng: fix build with gcc@10: (#17131)
-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): |