Skip to content

Commit

Permalink
Add macos hdf5 header/library paths (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doresic authored Nov 21, 2022
1 parent 59f0db2 commit 22badc6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/sdist/amici/setuptools.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,16 @@ def get_hdf5_config() -> PackageInfo:
'/usr/include/hdf5/serial',
'/usr/local/include',
'/usr/include', # travis ubuntu xenial, centos
'/usr/local/Cellar/hdf5/1.10.2_1/include' # travis macOS
'/usr/local/Cellar/hdf5/1.10.2_1/include', # travis macOS
'/opt/homebrew/Cellar/hdf5/1.12.2_2/include'
]
hdf5_library_dir_hints = [
'/usr/lib/x86_64-linux-gnu/', # travis ubuntu xenial
'/usr/lib/x86_64-linux-gnu/hdf5/serial',
'/usr/local/lib',
'/usr/lib64/', # CentOS
'/usr/local/Cellar/hdf5/1.10.2_1/lib' # travis macOS
'/usr/local/Cellar/hdf5/1.10.2_1/lib', # travis macOS
'/opt/homebrew/Cellar/hdf5/1.12.2_2/lib'
]

# special treatment for conda environments
Expand Down

0 comments on commit 22badc6

Please sign in to comment.