Message ID | 20180504063651.7236-3-joel@jms.id.au |
---|---|
State | Accepted |
Headers | show |
Series | opal-ci: Add 18.04 and clang builds | expand |
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 --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
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(+)