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
8011f3e2
Commit
8011f3e2
authored
Oct 04, 2019
by
mattip
Browse files
remove 'm' from python path for 3.8 and up
parent
1826f1fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
manylinux_utils.sh
manylinux_utils.sh
+6
-1
No files found.
manylinux_utils.sh
View file @
8011f3e2
...
...
@@ -21,6 +21,7 @@ function cpython_path {
local
py_ver
=
"
${
1
:-
2
.7
}
"
local
u_width
=
"
${
2
:-${
UNICODE_WIDTH
}}
"
local
u_suff
=
u
local
m
=
m
# Back-compatibility
if
[
"
$u_width
"
==
"u"
]
;
then
u_width
=
32
;
fi
# For Python >= 3.4, "u" suffix not meaningful
...
...
@@ -31,8 +32,12 @@ function cpython_path {
echo
"Incorrect u_width value
$u_width
"
exit
1
fi
# Python 3.8 and up no longer uses the PYMALLOC 'm' suffix
if
[
$(
lex_ver
$py_ver
)
-ge
$(
lex_ver 3.8
)
]
;
then
m
=
""
fi
local
no_dots
=
$(
echo
$py_ver
|
tr
-d
.
)
echo
"/opt/python/cp
${
no_dots
}
-cp
${
no_dots
}
m
${
u_suff
}
"
echo
"/opt/python/cp
${
no_dots
}
-cp
${
no_dots
}
$
m
${
u_suff
}
"
}
function
repair_wheelhouse
{
...
...
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