summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hdf5
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-05-16 15:57:15 +0200
committerGitHub <noreply@github.com>2023-05-16 15:57:15 +0200
commit815ac000ccfa45986d533b499bd3dfe15bf4abab (patch)
treeadb88b74059c5371154a914f5ca176da810b216f /var/spack/repos/builtin/packages/hdf5
parent7bc5b26c520e19e75c3edf2ed3aaaaa135038734 (diff)
downloadspack-815ac000ccfa45986d533b499bd3dfe15bf4abab.tar.gz
spack-815ac000ccfa45986d533b499bd3dfe15bf4abab.tar.bz2
spack-815ac000ccfa45986d533b499bd3dfe15bf4abab.tar.xz
spack-815ac000ccfa45986d533b499bd3dfe15bf4abab.zip
Revert "hdf5: fix showconfig (#34920)" (#37707)
This reverts commit 192e564e26e919169aa926e92af7bd9a28cbb4f1.
Diffstat (limited to 'var/spack/repos/builtin/packages/hdf5')
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index efb16ab591..4efba18d87 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -687,24 +687,6 @@ class Hdf5(CMakePackage):
symlink(src_filename, tgt_filename)
@run_after("install")
- def fix_showconfig(self):
- # The 'Extra libraries' entry of the 'h5cc -showconfig' command is a space-separated list
- # of linker flags if the package is installed with Autotools, and a semicolon-separated
- # list of library names if the package is installed with CMake. There are use cases that
- # rely on the old Autotools behavior. Here, we make sure that the output of the command
- # looks like it was before we switch to CMake.
- filter_file(
- r"^(\s*Extra libraries: )(.*)",
- lambda match: "{0}{1}".format(
- match.group(1),
- " ".join("-l{0}".format(name) for name in filter(None, match.group(2).split(";"))),
- ),
- self.prefix.lib.join("libhdf5.settings"),
- backup=False,
- ignore_absent=True,
- )
-
- @run_after("install")
@on_package_attributes(run_tests=True)
def check_install(self):
self._check_install()