Skip to content

Commit

Permalink
Fall back to qemu based builds for armv7l
Browse files Browse the repository at this point in the history
Unfortunately the linux32 wrapper + aarch64 host lead to armv8l
builds on travis.
As a quick fix we go back to qemu based building for armv7l.
The tests where disabled for armv7l because installing the required numpy
took too long and we hit the maximum allowed travis build time.
  • Loading branch information
Stefan Klug committed Aug 21, 2020
1 parent b59c3b9 commit e7b6330
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,18 @@ jobs:
- arch: amd64
env: P=linux_i686 A=cp38
# linux_armv7l
- arch: arm64
env: P=linux_armv7l A=cp34m
- arch: arm64
env: P=linux_armv7l A=cp35m
- arch: arm64
env: P=linux_armv7l A=cp36m
- arch: arm64
env: P=linux_armv7l A=cp37m
- arch: arm64
env: P=linux_armv7l A=cp38
# armv7l is still build using qemu on x86, because it was not easily possible to build for armv7l (The best was armv8l using linux32 wrapper)
# The tests are disabled for armv7l because installing the required numpy took too long and we hit the maximum allowed travis build time.
- arch: amd64
env: P=linux_armv7l A=cp34m ARGS="--disable-tests"
- arch: amd64
env: P=linux_armv7l A=cp35m ARGS="--disable-tests"
- arch: amd64
env: P=linux_armv7l A=cp36m ARGS="--disable-tests"
- arch: amd64
env: P=linux_armv7l A=cp37m ARGS="--disable-tests"
- arch: amd64
env: P=linux_armv7l A=cp38 ARGS="--disable-tests"
# linux_aarch64
- arch: arm64
env: P=linux_aarch64 A=cp34m
Expand Down Expand Up @@ -120,7 +122,7 @@ script:
if [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then
docker run --rm --privileged multiarch/qemu-user-static:register --reset
fi
- "./scripts/build/build-arch.sh --platform-tag $P --abi-tag $A --pylon-dir ./pylon_installer"
- "./scripts/build/build-arch.sh --platform-tag $P --abi-tag $A --pylon-dir ./pylon_installer $ARGS"

deploy:
provider: releases
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Version 1.6.0
- Fixed unittests that failed in python 3.8
- Updated to current pylon version for windows and linux
- Enabled unittests in CI-builds
- Fixed aarch64 binary wheel releases on github

Version 1.5.4
- Date 2020-04-16
Expand Down

0 comments on commit e7b6330

Please sign in to comment.