[PATCH v1] Enable `cpp_debugstl`
Barnabás Pőcze
barnabas.pocze at ideasonboard.com
Mon Dec 9 10:52:47 CET 2024
Sorry, of course I forgot to specify that this is for libcamera-ci.
2024. 12. 09. 10:51 keltezéssel, Barnabás Pőcze írta:
> Meson's `cpp_debugstl` built-in option enables extra checks
> in libstdc++ and libc++, such as iterator invalidation tests,
> bounds checking in `operator[]` of multiple types, etc by
> setting `GLIBCXX_DEBUG` and `_LIBCPP_HARDENING_MODE`.
>
> Signed-off-by: Barnabás Pőcze <barnabas.pocze at ideasonboard.com>
> ---
> gitlab-ci.yml | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/gitlab-ci.yml b/gitlab-ci.yml
> index ea038ec..ec96330 100644
> --- a/gitlab-ci.yml
> +++ b/gitlab-ci.yml
> @@ -15,6 +15,7 @@ variables:
> -D android=enabled
> -D b_sanitize=address
> -D cam=enabled
> + -D cpp_debugstl=true
> -D documentation=enabled
> -D gstreamer=enabled
> -D lc-compliance=enabled
> @@ -58,17 +59,17 @@ include:
> .libcamera-ci.debian:11:
> variables:
> FDO_DISTRIBUTION_VERSION: 'bullseye'
> - FDO_DISTRIBUTION_TAG: '2024-11-05.1'
> + FDO_DISTRIBUTION_TAG: '2024-12-06.1'
>
> .libcamera-ci.debian:12:
> variables:
> FDO_DISTRIBUTION_VERSION: 'bookworm'
> - FDO_DISTRIBUTION_TAG: '2024-11-05.1'
> + FDO_DISTRIBUTION_TAG: '2024-12-06.1'
>
> .libcamera-ci.debian:13:
> variables:
> FDO_DISTRIBUTION_VERSION: 'trixie'
> - FDO_DISTRIBUTION_TAG: '2024-11-05.1'
> + FDO_DISTRIBUTION_TAG: '2024-12-06.1'
>
> .container-debian:
> extends:
> @@ -389,6 +390,7 @@ test-unit:
> MESON_OPTIONS: >-
> -D b_sanitize=address
> -D cam=disabled
> + -D cpp_debugstl=true
> -D documentation=disabled
> -D gstreamer=enabled
> -D lc-compliance=disabled
More information about the libcamera-devel
mailing list