aboutsummaryrefslogtreecommitdiff
path: root/opal-ci
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-05-04 16:06:51 +0930
committerStewart Smith <stewart@linux.ibm.com>2018-05-06 10:27:37 -0500
commitf033219b73f985506fe985e6c2d43ec954b733e6 (patch)
tree39fb00bdf0bd803afbaa09ea4d4ba7534a949644 /opal-ci
parent7dab94cf5727e71296ccce8f3e18f08e95dc9de4 (diff)
downloadskiboot-f033219b73f985506fe985e6c2d43ec954b733e6.zip
skiboot-f033219b73f985506fe985e6c2d43ec954b733e6.tar.gz
skiboot-f033219b73f985506fe985e6c2d43ec954b733e6.tar.bz2
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 <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'opal-ci')
-rwxr-xr-xopal-ci/build-ubuntu-18.04.sh5
1 files changed, 5 insertions, 0 deletions
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