HDF5 static (#34577)
* Add HDF5 static support for netcdf-c * Update var/spack/repos/builtin/packages/hdf5/package.py Apply pkgconfig fix for all libraries, not just lz Co-authored-by: Sergey Kosukhin <skosukhin@gmail.com> * Update package.py Fix pkg config templates * remove subprocess+2 lines * Try netcdf-c changes only Co-authored-by: Sergey Kosukhin <skosukhin@gmail.com>
This commit is contained in:
parent
80d26168b5
commit
3201b4e2a1
1 changed files with 0 additions and 2 deletions
|
@ -213,8 +213,6 @@ def configure_args(self):
|
||||||
hdf5_hl = self.spec["hdf5:hl"]
|
hdf5_hl = self.spec["hdf5:hl"]
|
||||||
cppflags.append(hdf5_hl.headers.cpp_flags)
|
cppflags.append(hdf5_hl.headers.cpp_flags)
|
||||||
ldflags.append(hdf5_hl.libs.search_flags)
|
ldflags.append(hdf5_hl.libs.search_flags)
|
||||||
if hdf5_hl.satisfies("~shared"):
|
|
||||||
libs.append(hdf5_hl.libs.link_flags)
|
|
||||||
|
|
||||||
if "+parallel-netcdf" in self.spec:
|
if "+parallel-netcdf" in self.spec:
|
||||||
config_args.append("--enable-pnetcdf")
|
config_args.append("--enable-pnetcdf")
|
||||||
|
|
Loading…
Reference in a new issue