From patchwork Sun Nov 2 15:37:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 24946 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 1DF99C3241 for ; Sun, 2 Nov 2025 15:38:02 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8CC3C6096B; Sun, 2 Nov 2025 16:38:01 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="qFRx0CXk"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E8BB7606E6 for ; Sun, 2 Nov 2025 16:37:59 +0100 (CET) Received: from pendragon.ideasonboard.com (82-203-160-149.bb.dnainternet.fi [82.203.160.149]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 7A84310D4 for ; Sun, 2 Nov 2025 16:36:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1762097767; bh=Jp9ECLOqdeplaUlV/V88jKYZJ67tGUTRaptn3YdbkEw=; h=From:To:Subject:Date:From; b=qFRx0CXkrf8TklauZMM0BrEXDk8p3OpG9eUbLejXkgLGwbAcVwel2FLOvpzC1Oas2 MQ5927RdN64Az2JKXgBECwxdoqBdOuy3yjgIeD1jVEQCCOXp2GzHcG4ZtzbTRUC6Cl iEnloJIZy7fFa322276nd+2+GwcXeFNr2wXvO4K8= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [libcamera-ci] [PATCH] Install libyuv instead of relying on wrap Date: Sun, 2 Nov 2025 17:37:46 +0200 Message-ID: <20251102153746.8459-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Debian Bookworm and Trixie ship libyuv. Use the distribution package instead of relying on meson wraps. This better matches how libcamera is packaged on Debian, and shortens the compilation time. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Barnabás Pőcze --- Successful CI run: https://gitlab.freedesktop.org/pinchartl/libcamera/-/pipelines/1539181 Compilation on armhf reduces the number of build steps from 629 (https://gitlab.freedesktop.org/pinchartl/libcamera/-/jobs/87115344#L348) to 584 (https://gitlab.freedesktop.org/pinchartl/libcamera/-/jobs/87115378). --- .gitlab-ci/setup-container.sh | 4 ++++ gitlab-ci.yml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) base-commit: 9e09d8787ad4ca30b392351f4cf8fdccdd450c7a diff --git a/.gitlab-ci/setup-container.sh b/.gitlab-ci/setup-container.sh index 9d8319c9779b..2ba94bbefca3 100755 --- a/.gitlab-ci/setup-container.sh +++ b/.gitlab-ci/setup-container.sh @@ -130,6 +130,8 @@ case $FDO_DISTRIBUTION_VERSION in PKGS_LIBCAMERA_RUNTIME+=( python3-sphinx-book-theme ) # libclang-rt-dev for the clang ASan runtime. PKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-dev ) + # For the Android camera HAL and the virtual pipeline handler. + PKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libyuv-dev ) # For cam and lc-compliance # libevent-dev cannot be used here, see build-libcamera-common.sh PKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libevent-2.1-7 libevent-pthreads-2.1-7 ) @@ -141,6 +143,8 @@ case $FDO_DISTRIBUTION_VERSION in PKGS_LIBCAMERA_RUNTIME+=( python3-sphinx-book-theme ) # libclang-rt-dev for the clang ASan runtime. PKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libclang-rt-dev ) + # For the Android camera HAL and the virtual pipeline handler. + PKGS_LIBCAMERA_RUNTIME_MULTIARCH+=( libyuv-dev ) ;; esac diff --git a/gitlab-ci.yml b/gitlab-ci.yml index d18460534da2..a67618dd4ada 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -64,12 +64,12 @@ include: .libcamera-ci.debian:12: variables: FDO_DISTRIBUTION_VERSION: 'bookworm' - FDO_DISTRIBUTION_TAG: '2025-09-12.2' + FDO_DISTRIBUTION_TAG: '2025-11-02.0' .libcamera-ci.debian:13: variables: FDO_DISTRIBUTION_VERSION: 'trixie' - FDO_DISTRIBUTION_TAG: '2025-09-12.2' + FDO_DISTRIBUTION_TAG: '2025-11-02.0' .container-debian: extends: