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
a448d8d6
"platforms/opencl/vscode:/vscode.git/clone" did not exist on "be19e0222ddf66f612016a3c1f687161a53c2396"
Commit
a448d8d6
authored
Jun 17, 2016
by
Matthew Brett
Browse files
Remove unfixed wheels when writing into same dir
parent
ecfb27f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
docker_test_wrap.sh
docker_test_wrap.sh
+4
-3
manylinux_utils.sh
manylinux_utils.sh
+4
-2
No files found.
docker_test_wrap.sh
View file @
a448d8d6
...
@@ -9,9 +9,10 @@ source $MULTIBUILD_DIR/common_utils.sh
...
@@ -9,9 +9,10 @@ source $MULTIBUILD_DIR/common_utils.sh
# Change into root directory of repo
# Change into root directory of repo
cd
/io
cd
/io
# Configuration for this package
# Configuration for this package in `config.sh`.
# This can override `install_wheel`, otherwise defined in common_utils.sh.
# This can overwrite `install_run`' and `install_wheel` (called from
# It must define `run_tests`.
# `install_run`). These are otherwise defined in common_utils.sh.
# `config.sh` must define `run_tests` if using the default `install_run`.
source
config.sh
source
config.sh
install_run
install_run
manylinux_utils.sh
View file @
a448d8d6
...
@@ -33,10 +33,12 @@ function repair_wheelhouse {
...
@@ -33,10 +33,12 @@ function repair_wheelhouse {
local
in_dir
=
$1
local
in_dir
=
$1
local
out_dir
=
${
2
:-
$in_dir
}
local
out_dir
=
${
2
:-
$in_dir
}
for
whl
in
$in_dir
/
*
.whl
;
do
for
whl
in
$in_dir
/
*
.whl
;
do
if
[[
$whl
==
*
none-any.whl
]]
;
then
if
[[
$whl
==
*
none-any.whl
]]
;
then
# Pure Python wheel
[
"
$in_dir
"
=
=
"
$out_dir
"
]
||
cp
$whl
$out_dir
if
[
"
$in_dir
"
!
=
"
$out_dir
"
]
;
then
cp
$whl
$out_dir
;
fi
else
else
auditwheel repair
$whl
-w
$out_dir
/
auditwheel repair
$whl
-w
$out_dir
/
# Remove unfixed if writing into same directory
if
[
"
$in_dir
"
==
"
$out_dir
"
]
;
then
rm
$whl
;
fi
fi
fi
done
done
chmod
-R
a+rwX
$out_dir
chmod
-R
a+rwX
$out_dir
...
...
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