[Skiboot] [PATCH 2/2] opal-ci: Additionally build with clang on Ubuntu 18.04

Joel Stanley joel at jms.id.au
Fri May 4 16:36:51 AEST 2018


Now that skiboot supports building with clang we can use a modern distro
to cross compile using that compiler. Ubuntu 18.04 ships with clang 6,
so start with that.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 opal-ci/build-ubuntu-18.04.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/opal-ci/build-ubuntu-18.04.sh b/opal-ci/build-ubuntu-18.04.sh
index 95f7473e6ff4..dc835507a38c 100755
--- a/opal-ci/build-ubuntu-18.04.sh
+++ b/opal-ci/build-ubuntu-18.04.sh
@@ -27,3 +27,8 @@ rm -rf builddir
 mkdir builddir
 make SRC=`pwd` -f ../Makefile -C builddir -j${MAKE_J}
 make clean
+
+echo "Building with clang..."
+make clean
+make -j${MAKE_J} CC=clang
+make -j${MAKE_J} CC=clang check
-- 
2.17.0



More information about the Skiboot mailing list