diff options
author | Michael Kuhn <michael.kuhn@informatik.uni-hamburg.de> | 2020-05-11 23:54:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 16:54:08 -0500 |
commit | 97779e3539b34d15fde1a1be296efe40790b10dd (patch) | |
tree | 0c697ac1980bee13002f75029c41900dfb2f113b | |
parent | 1367b63e99a01d6b91d80037d6b7da3fb7732a00 (diff) | |
download | spack-97779e3539b34d15fde1a1be296efe40790b10dd.tar.gz spack-97779e3539b34d15fde1a1be296efe40790b10dd.tar.bz2 spack-97779e3539b34d15fde1a1be296efe40790b10dd.tar.xz spack-97779e3539b34d15fde1a1be296efe40790b10dd.zip |
adios: Fix build with gcc@10: (#16569)
-rw-r--r-- | var/spack/repos/builtin/packages/adios/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/adios/package.py b/var/spack/repos/builtin/packages/adios/package.py index c850b3058b..4bcd3f69d6 100644 --- a/var/spack/repos/builtin/packages/adios/package.py +++ b/var/spack/repos/builtin/packages/adios/package.py @@ -127,6 +127,11 @@ class Adios(AutotoolsPackage): return '--without-phdf5' + def setup_build_environment(self, env): + # https://github.com/ornladios/ADIOS/issues/206 + if self.spec.satisfies('%gcc@10: +fortran'): + env.set('FCFLAGS', '-fallow-argument-mismatch') + def configure_args(self): spec = self.spec self.validate(spec) |