Skip to content

Commit

Permalink
cibuildwheel: try to fix missing libs on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiodsf committed May 21, 2024
1 parent b907fc8 commit ed12dae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ before-all = "apk add fftw-dev"

[tool.cibuildwheel.macos]
before-all = 'brew install fftw'
repair-wheel-command = """\
DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel \
--require-archs {delocate_archs} -w {dest_dir} -v {wheel}\
"""
[[tool.cibuildwheel.overrides.environment]]
REPAIR_LIBRARY_PATH = '$HOMEBREW_PREFIX/lib'

[tool.cibuildwheel.windows]
before-all = '%CONDA%\Scripts\conda.exe install fftw'
Expand Down

0 comments on commit ed12dae

Please sign in to comment.