aboutsummaryrefslogtreecommitdiff
path: root/tcwg-binutils-docker.yaml
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2016-11-17 21:19:58 +0100
committerChristophe Lyon <christophe.lyon@linaro.org>2016-11-17 21:19:58 +0100
commit6b4debe17646070a413ddb28cae18a34977889ca (patch)
treedf56f4e7cb7f55c1211f80b4ac2ea4a79999f3cd /tcwg-binutils-docker.yaml
parent1fceabaf5f19784001eb8ceecee7effdbd56bedb (diff)
tcwg-binutils-docker: Update to match tcwg-binutils.
Add aarch64_be-linux-gnu target and build GDB. Change-Id: Ie80966c9cbab0d390b759aa84dedafe63c748857
Diffstat (limited to 'tcwg-binutils-docker.yaml')
-rw-r--r--tcwg-binutils-docker.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tcwg-binutils-docker.yaml b/tcwg-binutils-docker.yaml
index 983cfc0289..a5d3d43ebf 100644
--- a/tcwg-binutils-docker.yaml
+++ b/tcwg-binutils-docker.yaml
@@ -51,6 +51,7 @@
name: target
values:
- aarch64-linux-gnu
+ - aarch64_be-linux-gnu
- aarch64-none-elf
- aarch64_be-none-elf
- arm-linux-gnueabi
@@ -101,6 +102,7 @@
echo target=${target}
echo bfd=${bfd}
echo host=`hostname`
+ echo WORKSPACE: ${WORKSPACE}
# If configure or build fails, the execution will stop
# because of 'set -e'. But for 'make check' we want to
@@ -109,6 +111,18 @@
${BUILD_SHELL} -c "../configure $lto --enable-plugins --disable-gprof --disable-gdb --disable-sim --disable-libdecnumber --disable-readline --prefix=`pwd`/install --target $target ${bfd}"
${BUILD_SHELL} -c "make all -j$jobs"
${BUILD_SHELL} -c "make check -j$jobs -k" || result=1
+
+ # For the moment, only build gdb (do not run the tests).
+ # Do this in a different subdir.
+ # GDB is no longer supported on arm-vxworks
+ case ${target} in
+ arm-vxworks) ;;
+ *)
+ ${BUILD_SHELL} -c "mkdir build-gdb && cd build-gdb && ../../configure --with-gnu-ld --enable-plugins --enable-tui --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof --target=${target} ${bfd}"
+ ${BUILD_SHELL} -c "cd build-gdb && make all -j$jobs"
+ ;;
+ esac
+
sums=`find . -name "*.sum"`
echo '############################################'
echo 'See unexpected results below:'