Unverified Commit c0a319a5 authored by Andrew Murray's avatar Andrew Murray Committed by GitHub
Browse files

Merge pull request #495 from radarhere/fuse

universal2 build improvements
parents 01a967cb 5721be4b
...@@ -511,7 +511,7 @@ function fuse_macos_intel_arm64 { ...@@ -511,7 +511,7 @@ function fuse_macos_intel_arm64 {
mkdir -p tmp_fused_wheelhouse mkdir -p tmp_fused_wheelhouse
for whl in $wheelhouse/*.whl; do for whl in $wheelhouse/*.whl; do
if [[ "$whl" == *macosx_${py_osx_ver}_x86_64.whl ]]; then if [[ "$whl" == *macosx_${py_osx_ver}_x86_64.whl ]]; then
whl_base=$(echo $whl | rev | cut -c 23- | rev) whl_base=$(sed "s/macosx_${py_osx_ver}_x86_64.whl//" <<< $whl)
if [[ -f "${whl_base}macosx_11_0_arm64.whl" ]]; then if [[ -f "${whl_base}macosx_11_0_arm64.whl" ]]; then
delocate-fuse $whl "${whl_base}macosx_11_0_arm64.whl" -w tmp_fused_wheelhouse delocate-fuse $whl "${whl_base}macosx_11_0_arm64.whl" -w tmp_fused_wheelhouse
mv tmp_fused_wheelhouse/$(basename $whl) $wheelhouse/$(basename ${whl_base})macosx_${py_osx_ver}_universal2.whl mv tmp_fused_wheelhouse/$(basename $whl) $wheelhouse/$(basename ${whl_base})macosx_${py_osx_ver}_universal2.whl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment