aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/opal-ci/build-clang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/opal-ci/build-clang.sh')
-rwxr-xr-xroms/skiboot/opal-ci/build-clang.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/roms/skiboot/opal-ci/build-clang.sh b/roms/skiboot/opal-ci/build-clang.sh
new file mode 100755
index 000000000..09377c06d
--- /dev/null
+++ b/roms/skiboot/opal-ci/build-clang.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+set -uo pipefail
+set -e
+set -vx
+
+MAKE_J=$(nproc)
+
+make -j${MAKE_J} CC=clang
+make -j${MAKE_J} CC=clang check