Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
5721be4b
Commit
5721be4b
authored
Jan 06, 2023
by
Andrew Murray
Browse files
Allow py_osx_ver to vary in length
parent
2e10577a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
osx_utils.sh
osx_utils.sh
+1
-1
No files found.
osx_utils.sh
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment