ci: Enable GALLIUM_DUMP_CPU=true only in the clang job
authorYonggang Luo <luoyonggang@gmail.com>
Sun, 7 Aug 2022 16:40:31 +0000 (00:40 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 02:49:55 +0000 (02:49 +0000)
This is used to show the cpu caps when running unit tests.
As clang have optimization bug about util_get_cpu_caps before, so
we monitor it by using GALLIUM_DUMP_CPU=true

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18044>

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

index 6dc85c8..c1fb291 100644 (file)
@@ -393,6 +393,7 @@ debian-clang:
   extends: .meson-build
   variables:
     UNWIND: "enabled"
+    GALLIUM_DUMP_CPU: "true"
     C_ARGS: >
       -Wno-error=constant-conversion
       -Wno-error=enum-conversion