File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ matrix:
27
27
allow_failures :
28
28
- env : RUN_ON_CONTAINER=fedora-rawhide
29
29
- env : RUN_ON_CONTAINER=debian-unstable
30
- - env : RUN_ON_CONTAINER=ubuntu-18.04
31
30
exclude :
32
31
- os : linux-ppc64le
33
32
env : RUN_ON_CONTAINER=ubuntu-12.04
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:18.04
2
2
ENV DEBIAN_FRONTEND noninteractive
3
3
RUN if [ `arch` != "ppc64le" ]; then apt-get update -qq && apt-get install -y gcc-powerpc64le-linux-gnu; fi
4
- RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 gcc-arm-linux-gnueabi clang qemu-system-ppc
4
+ RUN apt-get update -qq && apt-get install -y gcc-arm-linux-gnueabi || true
5
+ RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 clang qemu-system-ppc
5
6
RUN if [ `arch` = "x86_64" ]; then curl -L -O http://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb; dpkg -i systemsim-p8_1.0-2_amd64.deb; fi
6
7
RUN if [ `arch` = "x86_64" ]; then curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.1-0-trusty_amd64.deb; fi
7
8
COPY . /build/
Original file line number Diff line number Diff line change @@ -12,11 +12,14 @@ make -j${MAKE_J} all
12
12
./opal-ci/fetch-debian-jessie-installer.sh
13
13
make -j${MAKE_J} check
14
14
(make clean; cd external/gard && CROSS= make -j${MAKE_J} )
15
- ( cd external/pflash;
16
- echo " Building for ARM..."
17
- make clean && make distclean
18
- CROSS_COMPILE=arm-linux-gnueabi- make || { echo " ARM build failed" ; exit 1; }
19
- )
15
+ # because some ppc64le versions don't have arm cross compiler
16
+ if which arm-linux-gnueabi-gcc; then
17
+ ( cd external/pflash;
18
+ echo " Building for ARM..."
19
+ make clean && make distclean
20
+ CROSS_COMPILE=arm-linux-gnueabi- make || { echo " ARM build failed" ; exit 1; }
21
+ )
22
+ fi
20
23
(cd external/pflash; make clean && make distclean && make)
21
24
make clean
22
25
SKIBOOT_GCOV=1 make -j${MAKE_J}
You can’t perform that action at this time.
0 commit comments