[{"id":35204,"web_url":"https://patchwork.libcamera.org/comment/35204/","msgid":"<49d234b5-4feb-4822-9067-9594297b7451@ideasonboard.com>","date":"2025-07-28T14:18:11","subject":"Re: [libcamera-ci] [PATCH 1/3] Avoid duplicated documentation builds","submitter":{"id":216,"url":"https://patchwork.libcamera.org/api/people/216/","name":"Barnabás Pőcze","email":"barnabas.pocze@ideasonboard.com"},"content":"2025. 07. 27. 3:11 keltezéssel, Laurent Pinchart írta:\n> The libcamera documentation is built as part of every build job. This\n> wastes CPU cycles. Build it only in the gcc 12 debug job, chosen\n> semi-randomly.\n> \n> We could also split the documentation build to a separate job, but\n> short-running jobs are discouraged as they waste significant amount of\n> resources to spawn the container in the runner.\n> \n> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\nLooks ok to me.\n\nReviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n\n\n> ---\n>   gitlab-ci.yml | 7 +++++--\n>   1 file changed, 5 insertions(+), 2 deletions(-)\n> \n> diff --git a/gitlab-ci.yml b/gitlab-ci.yml\n> index cad4c2b0c445..03ea7795f3ff 100644\n> --- a/gitlab-ci.yml\n> +++ b/gitlab-ci.yml\n> @@ -16,7 +16,7 @@ variables:\n>       -D b_sanitize=address\n>       -D cam=enabled\n>       -D cpp_debugstl=true\n> -    -D documentation=enabled\n> +    -D documentation=disabled\n>       -D gstreamer=enabled\n>       -D lc-compliance=enabled\n>       -D pipelines=['all']\n> @@ -170,13 +170,16 @@ build-full:debian:12:\n>     variables:\n>       MESON_OPTIONS: >-\n>         ${MESON_ALL_OPTIONS}\n> -      -D doc_werror=true\n>     parallel:\n>       matrix:\n>         - ARCH: amd64\n>           BUILD_TYPE: debug\n>           CC: gcc-12\n>           CXX: g++-12\n> +        MESON_OPTIONS: >-\n> +          ${MESON_ALL_OPTIONS}\n> +          -D documentation=enabled\n> +          -D doc_werror=true\n>         - ARCH: amd64\n>           BUILD_TYPE: release\n>           CC: gcc-12","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id ED467BDCC1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 28 Jul 2025 14:18:17 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id AE2C069158;\n\tMon, 28 Jul 2025 16:18:17 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3B45769158\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Jul 2025 16:18:15 +0200 (CEST)","from [192.168.33.18] (185.221.140.39.nat.pool.zt.hu\n\t[185.221.140.39])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 46F61446;\n\tMon, 28 Jul 2025 16:17:33 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"D67O/SgM\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1753712253;\n\tbh=6kdZa0EHI9dQpHtE5F+jryAK0nTByowwuuaFcT526do=;\n\th=Date:Subject:To:References:From:In-Reply-To:From;\n\tb=D67O/SgMok77JkRjKy+6mRFmYyoWeFvsVUP+V4oXLHvHd9BtA64zPUGsaOxQ2sCrW\n\tzMrKlGfqnSuQPBuKeBvzmHvFPYkQI9tj31wcpSMKZ7gxU39YUebrVZiLkic49/nbpl\n\t5Gqv6QQvbLgQxL2acuimIx2QiuUjMZSi7Pzki3gQ=","Message-ID":"<49d234b5-4feb-4822-9067-9594297b7451@ideasonboard.com>","Date":"Mon, 28 Jul 2025 16:18:11 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [libcamera-ci] [PATCH 1/3] Avoid duplicated documentation builds","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org","References":"<20250727011123.31634-1-laurent.pinchart@ideasonboard.com>\n\t<20250727011123.31634-2-laurent.pinchart@ideasonboard.com>","From":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","Content-Language":"en-US, hu-HU","In-Reply-To":"<20250727011123.31634-2-laurent.pinchart@ideasonboard.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]