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
f1120265
Commit
f1120265
authored
Jun 20, 2016
by
Matthew Brett
Browse files
Add get_platform utility
Get the main platform architecture from uname.
parent
d7f94ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
manylinux_utils.sh
manylinux_utils.sh
+5
-0
No files found.
manylinux_utils.sh
View file @
f1120265
...
...
@@ -6,6 +6,11 @@ source $MULTIBUILD_DIR/common_utils.sh
# UNICODE_WIDTH selects "32"=wide (UCS4) or "16"=narrow (UCS2/UTF16) builds
UNICODE_WIDTH
=
"
${
UNICODE_WIDTH
:-
32
}
"
function
get_platform
{
# Report platform as given by uname
python
-c
'import platform; print(platform.uname()[4])'
}
function
cpython_path
{
# Return path to cpython given
# * version (of form "2.7")
...
...
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