Skip to content

Commit 11d9bb9

Browse files
committed
Skip delocate wheel repair on macOS
delocate fails trying to bundle brew-installed dylibs (SuperLU, OpenBLAS) into the wheel. Like Linux, macOS wheels rely on system-installed libraries at runtime.
1 parent 99bcda7 commit 11d9bb9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ jobs:
154154
mkdir -p $HOME/homebrew_libs/openblas/lib;
155155
ln -sf $OPENBLAS_PREFIX/lib/libopenblas.dylib $HOME/homebrew_libs/openblas/lib/;
156156
echo "Created symlink in $HOME/homebrew_libs/openblas/lib/"
157+
# Skip delocate on macOS — we rely on system-installed libs (brew)
158+
# just like Linux relies on system libs without bundling
159+
CIBW_REPAIR_WHEEL_COMMAND_MACOS: >
160+
cp {wheel} {dest_dir}/
157161
CIBW_ARCHS_WINDOWS: 'AMD64'
158162
CIBW_ENVIRONMENT_WINDOWS: >
159163
CI=true

0 commit comments

Comments
 (0)