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
786e81f8
Commit
786e81f8
authored
Jan 19, 2021
by
Isuru Fernando
Browse files
rename wheelhouse2
parent
100c85e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
osx_utils.sh
osx_utils.sh
+3
-3
No files found.
osx_utils.sh
View file @
786e81f8
...
@@ -456,14 +456,14 @@ function macos_arm64_build_wrap {
...
@@ -456,14 +456,14 @@ function macos_arm64_build_wrap {
function
fuse_macos_intel_arm64
{
function
fuse_macos_intel_arm64
{
local
wheelhouse
=
$(
abspath
${
WHEEL_SDIR
:-
wheelhouse
}
)
local
wheelhouse
=
$(
abspath
${
WHEEL_SDIR
:-
wheelhouse
}
)
mkdir
-p
wheelhouse
2
mkdir
-p
tmp_fused_
wheelhouse
for
whl
in
$wheelhouse
/
*
.whl
;
do
for
whl
in
$wheelhouse
/
*
.whl
;
do
if
[[
"
$whl
"
==
*
macosx_10_9_x86_64.whl
]]
;
then
if
[[
"
$whl
"
==
*
macosx_10_9_x86_64.whl
]]
;
then
whl_base
=
$(
echo
$whl
| rev |
cut
-c
23- | rev
)
whl_base
=
$(
echo
$whl
| rev |
cut
-c
23- | rev
)
echo
$whl_base
echo
$whl_base
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
wheelhouse
2
delocate-fuse
$whl
"
${
whl_base
}
macosx_11_0_arm64.whl"
-w
tmp_fused_
wheelhouse
mv
wheelhouse
2
/
$(
basename
$whl
)
$wheelhouse
/
$(
basename
${
whl_base
}
)
macosx_10_9_universal2.whl
mv
tmp_fused_
wheelhouse/
$(
basename
$whl
)
$wheelhouse
/
$(
basename
${
whl_base
}
)
macosx_10_9_universal2.whl
# Since we want one wheel thats installable for testing we are deleting the 10_9_x86_64 wheel.
# Since we want one wheel thats installable for testing we are deleting the 10_9_x86_64 wheel.
# We are not deleting arm64 wheel because the size is lower and homebrew/conda-forge python
# We are not deleting arm64 wheel because the size is lower and homebrew/conda-forge python
# will use them by default
# will use them by default
...
...
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