File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -eu -o pipefail
4
+ cd /opt
5
+
6
+ version=" v2.0.0"
7
+ patch_url=" https://github.com/franzpoeschel/HDF5-Blosc2/commit/55b1feea7bf18a539dfbe4413a920bc9570aa0c6.diff"
8
+ patch_path=" $( pwd) /hdf5_blosc2_cmake_fixes.diff"
9
+
10
+ curl -sLo " $patch_path " " $patch_url "
11
+ git clone -b " $version " https://github.com/Blosc/HDF5-Blosc2
12
+ cd HDF5-Blosc2
13
+ git am " $patch_path "
14
+
15
+ cmake . -B build -DCMAKE_INSTALL_PREFIX=" /usr/local"
16
+ cmake --build build --parallel 4 --target install
Original file line number Diff line number Diff line change @@ -241,6 +241,10 @@ jobs:
241
241
sudo ln -s "$(which cmake)" /usr/bin/cmake
242
242
eval $(spack env activate --sh .github/ci/spack-envs/gcc12_py36_ompi_h5_ad2/)
243
243
spack install
244
+ ./.github/workflows/dependencies/install_hdf5_blosc2
245
+ # the HDF5 Blosc2 plugin exports no configuration files
246
+ # for build systems, so we will need to link it manually
247
+ export LDFLAGS="-lblosc2_filter $LDFLAGS"
244
248
245
249
share/openPMD/download_samples.sh build
246
250
cmake -S . -B build \
You can’t perform that action at this time.
0 commit comments