An open API service indexing awesome lists of open source software.

https://github.com/hdfgroup/hdf-spack


https://github.com/hdfgroup/hdf-spack

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

This holds a Spack package to build HDF5 using CMake.
It relies on Spack and the built-in Spack packages,
some of which may be overridden by this repository.

## Getting Started

Initial setup for bash-like shells:

```
cd /path/your-working-dir
git clone https://github.com/spack/spack.git
git clone https://github.com/HDFGroup/hdf-spack
source ./spack/share/spack/setup-env.sh
spack repo add ./hdf-spack
spack repo list
```
This repository's packages are now available locally and
have precedence over Spack's built-in repository.

The following spack command example will show you
which repositories (Namespaces) will be used in a build
for a given package before you install it:

```
spack spec -N hdf5
```

The hdf-spack repository contains files for three spack package options:
hdf5, hdf5-cmake, and hdf5-autotools.
The hdf5 package is an update to the hdf5 package in the official spack
repository that switches from Autotools to CMake for building HDF5.
Changes can be seen in the pull request:
https://github.com/spack/spack/pull/18937.

The hdf5-cmake package has most of those updates and also has new variants
to enable these compression filters:
blosc bshuf bz2 jpeg lz4 lzf szf
zfp zstd bitgroom mafisc pv av cv
These filters are enabled by default.

The hdf5-autotools package is equivalent to the current hdf5 package in Spack.

## References:

This repository contains a collection of [Spack](https://spack.io/) packages
related to development, building and testing of softwares from
[The HDF Group](https://www.hdfgroup.org).

For more about spack and what you can do with it, Spack has lots of
[documentation](https://spack.readthedocs.io/en/latest/) and a good
[tutorial](https://spack.readthedocs.io/en/latest/tutorial_sc16.html).

This repository uses a local/private repository as described in the Spack
documentation: https://spack.readthedocs.io/en/latest/repositories.html#

There is an active Spack repository. pull request in progress at for the
migration of HDF5 for building with CMake.
https://github.com/spack/spack/pull/18937