Skip to content

Commit

Permalink
Make openmp dependency optional (for macos). Install mpi4py for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Jan 1, 2025
1 parent baed9cc commit 2748b9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ project(
]
)

openmp = dependency('openmp')
openmp = dependency('openmp', required: false)
libflac = dependency('flac', version: '>= 1.4.0', static: false)

py = import('python').find_installation(pure: false)
Expand Down
1 change: 1 addition & 0 deletions packaging/conda_build_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ meson-python
libflac
h5py
zarr
mpi4py
4 changes: 2 additions & 2 deletions packaging/wheels/install_deps_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ fi
export PREFIX="${prefix}"

# Make sure lib64 points to lib, so that our dependencies can be found
sudo rm -rf "${prefix}/lib64"
sudo ln -s "${prefix}/lib" "${prefix}/lib64"
rm -rf "${prefix}/lib64"
ln -s "${prefix}/lib" "${prefix}/lib64"

# Location of this script
pushd $(dirname $0) >/dev/null 2>&1
Expand Down

0 comments on commit 2748b9e

Please sign in to comment.