From 63ddc44db62f455560eea0974b7ea429d76b041d Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Tue, 26 Mar 2019 19:36:54 +0100 Subject: ior package: Add patch to fix 3.2.0 with hdf5 (#10923) --- var/spack/repos/builtin/packages/ior/package.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/var/spack/repos/builtin/packages/ior/package.py b/var/spack/repos/builtin/packages/ior/package.py index bf408ed67f..3e37cbdb28 100644 --- a/var/spack/repos/builtin/packages/ior/package.py +++ b/var/spack/repos/builtin/packages/ior/package.py @@ -27,6 +27,12 @@ class Ior(AutotoolsPackage): depends_on('hdf5+mpi', when='+hdf5') depends_on('parallel-netcdf', when='+ncmpi') + # The build for 3.2.0 fails if hdf5 is enabled + # See https://github.com/hpc/ior/pull/124 + patch('https://github.com/hpc/ior/commit/1dbca5c293f95074f9887ddb2043fa984670fb4d.patch', + sha256='f28d6638a74a09e147e9fa870930e54a82ff580d1c232add47a67c375e255ada', + when='@3.2.0 +hdf5') + @run_before('autoreconf') def bootstrap(self): Executable('./bootstrap')() -- cgit v1.2.3-70-g09d2