Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dalcinl committed Nov 28, 2024
1 parent 2624fd8 commit 885c338
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/cd-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,6 @@ jobs:
SOURCE="$PWD/package/source"
WORKDIR="$PWD/package/workdir"
DESTDIR="$PWD/package/install"
CIBW_REPAIR_WHEEL_COMMAND_MACOS: >
delocate-wheel
--ignore-missing-dependencies
--exclude libmpi --exclude libpmpi
--require-archs {delocate_archs}
-w {dest_dir} -v {wheel}
- id: sha256sum
run: |
Expand Down
10 changes: 10 additions & 0 deletions patches/delocate-wheel.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env python
import sys
from delocate.cmd.delocate_wheel import main

sys.argv[1:1] = """
--ignore-missing-dependencies
""".split()

if __name__ == "__main__":
sys.exit(main())
1 change: 0 additions & 1 deletion wheel-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export CIBW_BEFORE_ALL='bash {project}/cibw-build-mpi.sh'
export CIBW_BEFORE_BUILD='bash {project}/cibw-patch-cmd.sh'
export CIBW_TEST_COMMAND='bash {project}/cibw-check-mpi.sh'
export CIBW_ENVIRONMENT_PASS='MPINAME RELEASE SOURCE WORKDIR DESTDIR'
export CIBW_REPAIR_WHEEL_COMMAND_MACOS='delocate-wheel --ignore-missing-dependencies --exclude libmpi --exclude libpmpi --require-archs {delocate_archs} -w {dest_dir} -v {wheel}'

if test "$(uname)" = Linux; then
containerengine=$(basename "$(command -v podman || command -v docker)")
Expand Down

0 comments on commit 885c338

Please sign in to comment.