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
3ffa2d1e
Commit
3ffa2d1e
authored
Mar 05, 2020
by
mattip
Browse files
fix where UNICODE_WIDTH is defined, remove debug cruft
parent
be1744e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
common_utils.sh
common_utils.sh
+6
-1
docker_build_wrap.sh
docker_build_wrap.sh
+0
-3
No files found.
common_utils.sh
View file @
3ffa2d1e
...
@@ -16,6 +16,12 @@ DOWNLOADS_SDIR=downloads
...
@@ -16,6 +16,12 @@ DOWNLOADS_SDIR=downloads
PYPY_URL
=
https://bitbucket.org/pypy/pypy/downloads
PYPY_URL
=
https://bitbucket.org/pypy/pypy/downloads
GET_PIP_URL
=
https://bootstrap.pypa.io/get-pip.py
GET_PIP_URL
=
https://bootstrap.pypa.io/get-pip.py
# Unicode width, default 32. Used here and in travis_linux_steps.sh
# In docker_build_wrap.sh it is passed in when calling "docker run"
# The docker test images also use it when choosing the python to run
# with, so it is passed in when calling "docker run" for tests.
UNICODE_WIDTH
=
${
UNICODE_WIDTH
:-
32
}
if
[
$(
uname
)
==
"Darwin"
]
;
then
IS_OSX
=
1
;
fi
if
[
$(
uname
)
==
"Darwin"
]
;
then
IS_OSX
=
1
;
fi
# Work round bug in travis xcode image described at
# Work round bug in travis xcode image described at
...
@@ -343,7 +349,6 @@ function install_wheel {
...
@@ -343,7 +349,6 @@ function install_wheel {
local supported_wheels=
$(
$PYTHON_EXE
$MULTIBUILD_DIR
/supported_wheels.py
$wheelhouse
/
*
.whl
)
local supported_wheels=
$(
$PYTHON_EXE
$MULTIBUILD_DIR
/supported_wheels.py
$wheelhouse
/
*
.whl
)
if [ -z "
$supported_wheels
" ]; then
if [ -z "
$supported_wheels
" ]; then
echo "
ERROR: no supported wheels found
"
echo "
ERROR: no supported wheels found
"
ls
$wheelhouse
/*.whl
exit 1
exit 1
fi
fi
# Install compatible wheel
# Install compatible wheel
...
...
docker_build_wrap.sh
View file @
3ffa2d1e
...
@@ -11,9 +11,6 @@ set -e
...
@@ -11,9 +11,6 @@ set -e
# Change into root directory of repo
# Change into root directory of repo
cd
/io
cd
/io
# Unicode width, default 32
UNICODE_WIDTH
=
${
UNICODE_WIDTH
:-
32
}
# Location of wheels, default "wheelhouse"
# Location of wheels, default "wheelhouse"
WHEEL_SDIR
=
${
WHEEL_SDIR
:-
wheelhouse
}
WHEEL_SDIR
=
${
WHEEL_SDIR
:-
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