[libcamera-ci] [PATCH] Enable clang build on Debian trixie
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Dec 16 10:50:51 CET 2024
On Mon, Dec 16, 2024 at 08:38:44AM +0100, Jacopo Mondi wrote:
> On Sun, Dec 15, 2024 at 11:22:54PM +0200, Laurent Pinchart wrote:
> > Debian stable ships a relatively old clang version. Add a build test
> > with the most recent available clang version on trixie.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> > ---
> > Successful CI run for the libcamera master branch:
> > https://gitlab.freedesktop.org/pinchartl/libcamera/-/pipelines/1330345
> > ---
> > gitlab-ci.yml | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/gitlab-ci.yml b/gitlab-ci.yml
> > index c78235ec1e52d571..06ab27dc0af0d9df 100644
> > --- a/gitlab-ci.yml
> > +++ b/gitlab-ci.yml
> > @@ -224,6 +224,13 @@ build-full:debian:13:
> > - ARCH: amd64
> > CC: gcc-14
> > CXX: g++-14
> > + - ARCH: amd64
> > + CC: clang
> > + CXX: clang++
> > + MESON_OPTIONS: >-
> > + ${MESON_ALL_OPTIONS}
> > + ${MESON_CLANG_OPTIONS}
> > + -D qcam=disabled
>
> Just wondering why we don't need these options for gcc, but mostly for
> my education.
git log and git blame have the answer :-)
> Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
>
> > # Build each commit in the branch individually to detect compilation breakages.
> > build-history:
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list