summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-07-26 22:58:00 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2018-07-26 15:58:00 -0500
commit3d86c7fef57dda2562e683d110521e1417406f9a (patch)
treebf8dca05289dff780eb809ebbab5a7be549bbd53 /var
parentd25866a8f85ea3be1395e6011a51e2dc1021d810 (diff)
downloadspack-3d86c7fef57dda2562e683d110521e1417406f9a.tar.gz
spack-3d86c7fef57dda2562e683d110521e1417406f9a.tar.bz2
spack-3d86c7fef57dda2562e683d110521e1417406f9a.tar.xz
spack-3d86c7fef57dda2562e683d110521e1417406f9a.zip
hdf5: Fix build with %gcc@8 (#8788)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index f70e294b17..ad4fc1458a 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -111,6 +111,10 @@ class Hdf5(AutotoolsPackage):
# three src files and leaves the hdf5 build system alone.
patch('pre-c99-comments.patch', when='@1.8.10')
+ # There are build errors with GCC 8, see
+ # https://forum.hdfgroup.org/t/1-10-2-h5detect-compile-error-gcc-8-1-0-on-centos-7-2-solved/4441
+ patch('https://salsa.debian.org/debian-gis-team/hdf5/raw/bf94804af5f80f662cad80a5527535b3c6537df6/debian/patches/gcc-8.patch', sha256='57cee5ff1992b4098eda079815c36fc2da9b10e00a9056df054f2384c4fc7523', when='@1.10.2%gcc@8:')
+
filter_compiler_wrappers('h5cc', 'h5c++', 'h5fc', relative_root='bin')
def url_for_version(self, version):