Skip to content

Commit 18c2894

Browse files
author
Jorge Aparicio
authored
Merge pull request #38 from japaric/ppc64le
try 32-bit qemu for ppc64le
2 parents 1f3bad0 + 95651f6 commit 18c2894

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sudo: required
55

66
matrix:
77
include:
8+
- env: TARGET=powerpc64le-unknown-linux-gnu
9+
os: linux
810
- env: TARGET=aarch64-unknown-linux-gnu
911
os: linux
1012
- env: TARGET=arm-unknown-linux-gnueabi
@@ -27,8 +29,6 @@ matrix:
2729
os: linux
2830
- env: TARGET=powerpc64-unknown-linux-gnu
2931
os: linux
30-
- env: TARGET=powerpc64le-unknown-linux-gnu
31-
os: linux
3232
- env: TARGET=thumbv6m-none-eabi
3333
os: linux
3434
- env: TARGET=thumbv7em-none-eabi

ci/env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ case $TARGET in
4747
powerpc64le-unknown-linux-gnu)
4848
export PREFIX=powerpc64le-linux-gnu-
4949
export QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu
50+
# QEMU crashes, even running the simplest cross compiled C program:
51+
# `int main() { return 0; }`
5052
export RUN_TESTS=n
5153
;;
5254
thumbv*-none-eabi)

ci/install.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ set -ex
33
. $(dirname $0)/env.sh
44

55
install_qemu() {
6-
case ${QEMU_ARCH:-$TRAVIS_OS_NAME} in
7-
i386)
8-
dpkg --add-architecture $QEMU_ARCH
9-
apt-get install -y --no-install-recommends \
10-
binfmt-support qemu-user-static:$QEMU_ARCH
11-
;;
6+
case $TRAVIS_OS_NAME in
127
linux)
138
apt-get update
149
apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)