Skip to content

Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.

C

check.sh: both of cpuref's lines, so the count is not hidden behind the caveat

vcvkkd794969b4655
diff --git a/tools/air/check.sh b/tools/air/check.sh
index da1bf15..a823257 100755
--- a/tools/air/check.sh
+++ b/tools/air/check.sh
@@ -61,8 +61,8 @@ echo "== against LLVM on the processor, shader by shader"
# rest say why not. See tools/air/cpuref.py.
cpu_rc=0
for f in "${LIBS[@]}"; do
- printf '%-52s ' "$(basename "$(dirname "$f")")/$(basename "$f")"
- python3 "$ROOT/tools/air/cpuref.py" --all "$f" 2>&1 | tail -1 || cpu_rc=1
+ echo "$(basename "$(dirname "$f")")/$(basename "$f"):"
+ python3 "$ROOT/tools/air/cpuref.py" --all "$f" 2>&1 | tail -2 | sed 's/^/ /' || cpu_rc=1
done
exit $((reader_rc | cpu_rc))