Commit 707616feb for llama.cpp
commit 707616feb5f379e99ff7442680a55b4a1704c7c9
Author: Christian Kastner <ckk@kvr.at>
Date: Tue Oct 20 12:38:45 2026 +0200
ci: Fix --strict mode for API check (#30623)
abi-compliance-checker was running in strict mode unconditionally,
rather than honoring the CLI flag.
diff --git a/scripts/check-apiabi-compat.sh b/scripts/check-apiabi-compat.sh
index 8075aaf9f..229602f44 100755
--- a/scripts/check-apiabi-compat.sh
+++ b/scripts/check-apiabi-compat.sh
@@ -244,8 +244,10 @@ elif [ "$DO_CHECK" -eq 1 ]; then
# From here on, we don't want to exit on first error
set +e
+ ACC_STRICT=
+ [ "$STRICT" -eq 0 ] || ACC_STRICT="-strict"
abi-compliance-checker \
- -strict \
+ $ACC_STRICT \
-source \
-library "$PROJECT_NAME" \
-old "$BUILD_DIR/apiabi/api.dump" \