Skip to content

Commit

Permalink
Fix dots and dashes in hdf5 version
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Jul 18, 2024
1 parent 54d91b5 commit 33c8d10
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cibw_before_all_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ ninja
popd
popd

curl -fsSLO "https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5.tar.gz"
tar -xzf hdf5.tar.gz
mkdir -p hdf5-${HDF5_VERSION}/build
pushd hdf5-${HDF5_VERSION}/build
HDF5_PATCH_VERSION=${HDF5_VERSION%.*}-${HDF5_VERSION##*.}
curl -fsSLO "https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5-${HDF5_PATCH_VERSION}.tar.gz"
tar -xzf hdf5-${HDF5_PATCH_VERSION}.tar.gz
mkdir -p hdf5-${HDF5_PATCH_VERSION}/build
pushd hdf5-${HDF5_PATCH_VERSION}/build
ls -lah ..

cmake -G Ninja \
Expand Down

0 comments on commit 33c8d10

Please sign in to comment.