Hdf5 package: build on Windows (#31141)
* Enable hdf5 build (including +mpi) on Windows * This includes updates to hdf5 dependencies openssl (minor edit) and bzip2 (more-extensive edits) * Add binary-based installation of msmpi (this is currently the only supported MPI implementation in Spack for Windows). Note that this does not install to the Spack-specified prefix. This implementation will be replaced with a source-based implementation Co-authored-by: John Parent <john.parent@kitware.com>
This commit is contained in:
@@ -1704,9 +1704,11 @@ dependencies or incompatible build tools like autoconf. Here are several
|
||||
packages known to work on Windows:
|
||||
|
||||
* abseil-cpp
|
||||
* bzip2
|
||||
* clingo
|
||||
* cpuinfo
|
||||
* cmake
|
||||
* hdf5
|
||||
* glm
|
||||
* nasm
|
||||
* netlib-lapack (requires Intel Fortran)
|
||||
|
@@ -1089,7 +1089,7 @@ def _libs_default_handler(descriptor, spec, cls):
|
||||
home = getattr(spec.package, "home")
|
||||
|
||||
# Avoid double 'lib' for packages whose names already start with lib
|
||||
if not name.startswith("lib"):
|
||||
if not name.startswith("lib") and not spec.satisfies("platform=windows"):
|
||||
name = "lib" + name
|
||||
|
||||
# If '+shared' search only for shared library; if '~shared' search only for
|
||||
|
Reference in New Issue
Block a user