Skip to content

try 32-bit qemu for ppc64le #38

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
Aug 14, 2016
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ sudo: required

matrix:
include:
- env: TARGET=powerpc64le-unknown-linux-gnu
os: linux
- env: TARGET=aarch64-unknown-linux-gnu
os: linux
- env: TARGET=arm-unknown-linux-gnueabi
Expand All @@ -27,8 +29,6 @@ matrix:
os: linux
- env: TARGET=powerpc64-unknown-linux-gnu
os: linux
- env: TARGET=powerpc64le-unknown-linux-gnu
os: linux
- env: TARGET=thumbv6m-none-eabi
os: linux
- env: TARGET=thumbv7em-none-eabi
Expand Down
2 changes: 2 additions & 0 deletions ci/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ case $TARGET in
powerpc64le-unknown-linux-gnu)
export PREFIX=powerpc64le-linux-gnu-
export QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu
# QEMU crashes, even running the simplest cross compiled C program:
# `int main() { return 0; }`
export RUN_TESTS=n
;;
thumbv*-none-eabi)
Expand Down
7 changes: 1 addition & 6 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ set -ex
. $(dirname $0)/env.sh

install_qemu() {
case ${QEMU_ARCH:-$TRAVIS_OS_NAME} in
i386)
dpkg --add-architecture $QEMU_ARCH
apt-get install -y --no-install-recommends \
binfmt-support qemu-user-static:$QEMU_ARCH
;;
case $TRAVIS_OS_NAME in
linux)
apt-get update
apt-get install -y --no-install-recommends \
Expand Down