ci: disable bogus GCC warning with -Warray-bounds
authorDavid Heidelberg <david.heidelberg@collabora.com>
Fri, 17 Mar 2023 15:08:07 +0000 (16:08 +0100)
committerDavid Heidelberg <david.heidelberg@collabora.com>
Thu, 25 May 2023 14:06:53 +0000 (16:06 +0200)
Reported: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109744

Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977>

.gitlab-ci/build/gitlab-ci.yml

index b9c4df5..5b8acb8 100644 (file)
@@ -436,6 +436,9 @@ debian-arm64:
     - .meson-arm
     - .ci-deqp-artifacts
   variables:
+    C_ARGS: >
+      -Wno-error=array-bounds
+      -Wno-error=stringop-truncation
     VULKAN_DRIVERS: "freedreno,broadcom,panfrost,imagination-experimental"
     EXTRA_OPTION: >
       -D llvm=disabled
@@ -478,6 +481,7 @@ debian-arm64-release:
     BUILDTYPE: release
     MINIO_ARTIFACT_NAME: mesa-arm64-${BUILDTYPE}
     C_ARGS: >
+      -Wno-error=array-bounds
       -Wno-error=stringop-truncation
   script:
     - .gitlab-ci/meson/build.sh