From 9b744612ba831cb47f599024c15d5285b1008fa2 Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Mon, 3 Jun 2024 09:48:42 +1000 Subject: [PATCH] BLD: test delocate works [wheel build] --- .github/workflows/wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 74a4e90880c4..364c67b43538 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -162,12 +162,12 @@ jobs: # 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 && " + POSTFIX=" && 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 \ - {delocate_archs} -w {dest_dir} {wheel}" + {delocate_archs} -w {dest_dir} {wheel} $POSTFIX" # Rename x86 Accelerate wheel to test on macOS 13 runner if [[ ${{ matrix.buildplat[0] }} == 'macos-13' && ${{ matrix.buildplat[4] }} == '14.0' ]]; then CIBW+=" && mv {dest_dir}/\$(basename {wheel}) \