diff mbox series

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

Message ID 20180504063651.7236-3-joel@jms.id.au
State Accepted
Headers show
Series opal-ci: Add 18.04 and clang builds | expand

Commit Message

Joel Stanley May 4, 2018, 6:36 a.m. UTC
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>
---
 opal-ci/build-ubuntu-18.04.sh | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Stewart Smith May 6, 2018, 5:21 p.m. UTC | #1
Joel Stanley <joel@jms.id.au> writes:
> 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>
> ---
>  opal-ci/build-ubuntu-18.04.sh | 5 +++++
>  1 file changed, 5 insertions(+)

Nice. Merged to master as of f033219b73f985506fe985e6c2d43ec954b733e6
diff mbox series

Patch

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