Skip to content

Commit

Permalink
Disable HDF5 on OS X to fix architecture incompatibility issue at str…
Browse files Browse the repository at this point in the history
…ipping step.
  • Loading branch information
rcurtin committed Jun 7, 2024
1 parent b73e7ad commit 026e481
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_mlpack.osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set -e -u -o pipefail

brew install --force cereal gcc cmake hdf5 tree
brew install --force cereal gcc cmake
pip install cython numpy pandas wheel setuptools
pip install packaging==20.5

Expand All @@ -21,6 +21,7 @@ if [ "$CIBW_ARCHS_MACOS" == "x86_64" ];
then
cmake \
-DCMAKE_OSX_ARCHITECTURES="$CIBW_ARCHS_MACOS" \
-DDETECT_HDF5=OFF \
.
elif [ "$CIBW_ARCHS_MACOS" == "arm64" ];
then
Expand Down

0 comments on commit 026e481

Please sign in to comment.