Skip to content

Release.sh changes for .whl tags to support breadth of Linux platforms #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 12, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions build_all/linux/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,18 @@ process_args()
process_args $*

# identify processor architecture
if [[ "$(uname -m)" = "x86_64" ]] ; then
PLAT_ARCH="linux64"
PLAT_NAME="$(uname -m)"

if [[ $PLAT_NAME = "x86_64" ]] ; then
PLAT_ARCH="manylinux1_x86_64"
elif [[ $PLAT_NAME = "armv7l" ]] ; then
PLAT_ARCH="linux_armv7l"
else
PLAT_ARCH="linux32"
PLAT_ARCH="manylinux1_i686"
fi



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