[PATCH] utils: abi-compat: sort meson options

Kieran Bingham kieran.bingham at ideasonboard.com
Tue Sep 24 19:34:33 CEST 2024


Sort the options passed to meson setup alphabetically when performing a
slimline libcamera build.

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

---
This is based on top of https://patchwork.libcamera.org/patch/21347/

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 utils/abi-compat.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/utils/abi-compat.sh b/utils/abi-compat.sh
index a7b2481572bd..31f61e320404 100755
--- a/utils/abi-compat.sh
+++ b/utils/abi-compat.sh
@@ -156,16 +156,16 @@ create_abi_dump() {
 		# Generate a minimal libcamera build. "lib" and "prefix" are
 		# defined explicitly to avoid system default ambiguities.
 		meson setup "$build" "$worktree" \
-			-Dlibdir=lib \
-			-Dprefix=/usr/local/ \
-			-Ddocumentation=disabled \
 			-Dcam=disabled \
-			-Dqcam=disabled \
-			-Dpycamera=disabled \
+			-Ddocumentation=disabled \
 			-Dgstreamer=disabled \
 			-Dlc-compliance=disabled \
-			-Dtracing=disabled \
-			-Dpipelines=
+			-Dlibdir=lib \
+			-Dpipelines= \
+			-Dprefix=/usr/local/ \
+			-Dpycamera=disabled \
+			-Dqcam=disabled \
+			-Dtracing=disabled
 
 		ninja -C "$build"
 		DESTDIR="$install" ninja -C "$build" install
-- 
2.34.1



More information about the libcamera-devel mailing list