Skip to content

Commit

Permalink
BLD: test delocate works [wheel build]
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfaff committed Jun 2, 2024
1 parent 78a67fc commit 15f6449
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
get_commit_message:
name: Get commit message
runs-on: ubuntu-latest
if: github.repository == 'scipy/scipy'
if: github.repository == 'andyfaff/scipy'
outputs:
message: ${{ steps.commit_message.outputs.message }}
steps:
Expand Down Expand Up @@ -79,13 +79,13 @@ jobs:
# should also be able to do multi-archs on a single entry, e.g.
# [windows-2019, win*, "AMD64 x86"]. However, those two require a different compiler setup
# so easier to separate out here.
- [ubuntu-22.04, manylinux, x86_64, "", ""]
- [ubuntu-22.04, musllinux, x86_64, "", ""]
#- [ubuntu-22.04, manylinux, x86_64, "", ""]
#- [ubuntu-22.04, musllinux, x86_64, "", ""]
- [macos-12, macosx, x86_64, openblas, "10.9"]
- [macos-13, macosx, x86_64, accelerate, "14.0"]
#- [macos-13, macosx, x86_64, accelerate, "14.0"]
- [macos-14, macosx, arm64, openblas, "12.0"]
- [macos-14, macosx, arm64, accelerate, "14.0"]
- [windows-2019, win, AMD64, "", ""]
#- [macos-14, macosx, arm64, accelerate, "14.0"]
#- [windows-2019, win, AMD64, "", ""]

python: [["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"]]
# python[0] is used to specify the python versions made by cibuildwheel
Expand Down Expand Up @@ -159,6 +159,11 @@ jobs:
# which should be exactly the same as the ones from gfortran
# This will exclude the duplicates from gfortran in /opt/gfortran*
EXCLUDE="-e /gfortran"
# remove libgfortran from location used for linking, to check wheel has
# bundled things correctly
PREFIX="sudo rm -rf /opt/gfortran-darwin-x86_64-native &&\
rm /usr/local/lib/libgfortran.dylib /usr/local/lib/libgfortran.5.dylib && "
fi
CIBW="$PREFIX delocate-listdeps {wheel} &&\
$PREFIX delocate-wheel $EXCLUDE --require-archs \
Expand Down

0 comments on commit 15f6449

Please sign in to comment.