From f033219b73f985506fe985e6c2d43ec954b733e6 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Fri, 4 May 2018 16:06:51 +0930 Subject: opal-ci: Additionally build with clang on Ubuntu 18.04 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 Signed-off-by: Stewart Smith --- opal-ci/build-ubuntu-18.04.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'opal-ci') diff --git a/opal-ci/build-ubuntu-18.04.sh b/opal-ci/build-ubuntu-18.04.sh index 95f7473..dc83550 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 -- cgit v1.1