Skip to content

Commit e0c75e5

Browse files
committed
temporary: do not build i686 - issue in manylinux1
1 parent 925634b commit e0c75e5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/run_docker.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
package_name="$1"
33
if [ -z "$package_name" ]
44
then
5+
# shellcheck disable=SC2210
56
&>2 echo "Please pass package name as a first argument of this script ($0)"
67
exit 1
78
fi
@@ -10,13 +11,13 @@ manylinux1_image_prefix="quay.io/pypa/manylinux1_"
1011
dock_ext_args=""
1112
declare -A docker_pull_pids=() # This syntax requires at least bash v4
1213

13-
for arch in x86_64 i686
14+
for arch in x86_64 # i686
1415
do
1516
docker pull "${manylinux1_image_prefix}${arch}" &
1617
docker_pull_pids[$arch]=$!
1718
done
1819

19-
for arch in x86_64 i686
20+
for arch in x86_64 # i686
2021
do
2122
echo
2223
echo
@@ -26,7 +27,7 @@ do
2627
[ $arch == "i686" ] && dock_ext_args="linux32"
2728

2829
echo Building wheel for $arch arch
29-
docker run --rm -v `pwd`:/io "${manylinux1_image_prefix}${arch}" $dock_ext_args /io/tools/build-wheels.sh "$package_name"
30+
docker run --rm -v "$(pwd):/io ${manylinux1_image_prefix}${arch} $dock_ext_args /io/tools/build-wheels.sh $package_name"
3031

3132
dock_ext_args="" # Reset docker args, just in case
3233
done

0 commit comments

Comments
 (0)