summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2020-05-11 23:54:08 +0200
committerGitHub <noreply@github.com>2020-05-11 16:54:08 -0500
commit97779e3539b34d15fde1a1be296efe40790b10dd (patch)
tree0c697ac1980bee13002f75029c41900dfb2f113b /var
parent1367b63e99a01d6b91d80037d6b7da3fb7732a00 (diff)
downloadspack-97779e3539b34d15fde1a1be296efe40790b10dd.tar.gz
spack-97779e3539b34d15fde1a1be296efe40790b10dd.tar.bz2
spack-97779e3539b34d15fde1a1be296efe40790b10dd.tar.xz
spack-97779e3539b34d15fde1a1be296efe40790b10dd.zip
adios: Fix build with gcc@10: (#16569)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/adios/package.py5
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)