Skip to content

Commit e93ea81

Browse files
author
Zoltan Varga
authored
Merge pull request #52 from digimaun/arm-build
Release.sh changes for .whl tags to support breadth of Linux platforms
2 parents ae3f261 + ac75100 commit e93ea81

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

build_all/linux/release.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,18 @@ process_args()
3131
process_args $*
3232

3333
# identify processor architecture
34-
if [[ "$(uname -m)" = "x86_64" ]] ; then
35-
PLAT_ARCH="linux64"
34+
PLAT_NAME="$(uname -m)"
35+
36+
if [[ $PLAT_NAME = "x86_64" ]] ; then
37+
PLAT_ARCH="manylinux1_x86_64"
38+
elif [[ $PLAT_NAME = "armv7l" ]] ; then
39+
PLAT_ARCH="linux_armv7l"
3640
else
37-
PLAT_ARCH="linux32"
41+
PLAT_ARCH="manylinux1_i686"
3842
fi
3943

4044

45+
4146
# instruct C builder to include python library and to skip tests
4247
./c/build_all/linux/build.sh --build-python $PYTHON_VERSION $*
4348
[ $? -eq 0 ] || exit $?

0 commit comments

Comments
 (0)