summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hdf/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf/package.py b/var/spack/repos/builtin/packages/hdf/package.py
index 414e21e1e2..9250f68c11 100644
--- a/var/spack/repos/builtin/packages/hdf/package.py
+++ b/var/spack/repos/builtin/packages/hdf/package.py
@@ -197,6 +197,10 @@ class Hdf(AutotoolsPackage):
extra_install_tests = join_path("hdf", "util", "testfiles")
+ # Filter h4cc compiler wrapper to substitute the Spack compiler
+ # wrappers with the path of the underlying compilers.
+ filter_compiler_wrappers("h4cc", relative_root="bin")
+
@property
def cached_tests_work_dir(self):
"""The working directory for cached test sources."""