ci/skqp: handle all warnings printed with clang >= 14
authorDavid Heidelberg <david.heidelberg@collabora.com>
Tue, 2 May 2023 23:01:36 +0000 (01:01 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sun, 14 May 2023 22:16:28 +0000 (22:16 +0000)
Useful for the https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977

Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22808>

.gitlab-ci/container/build-skqp_base.gn

index 3df1164..472b44f 100644 (file)
@@ -1,7 +1,12 @@
 cc = "clang"
 cxx = "clang++"
 
-extra_cflags = [ "-DSK_ENABLE_DUMP_GPU", "-DSK_BUILD_FOR_SKQP" ]
+extra_cflags = [
+        "-Wno-error",
+
+        "-DSK_ENABLE_DUMP_GPU",
+        "-DSK_BUILD_FOR_SKQP"
+    ]
 extra_cflags_cc = [
         "-Wno-error",
 
@@ -22,6 +27,13 @@ extra_cflags_cc = [
         "-Wno-suggest-destructor-override",
         "-Wno-return-std-move-in-c++11",
         "-Wno-extra-semi-stmt",
+        "-Wno-reserved-identifier",
+        "-Wno-bitwise-instead-of-logical",
+        "-Wno-reserved-identifier",
+        "-Wno-psabi",
+        "-Wno-unused-but-set-variable",
+        "-Wno-sizeof-array-div",
+        "-Wno-string-concatenation",
     ]
 
 cc_wrapper = "ccache"