Mesa (main): ci: Building all mesa functional with mingw on debian

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 23 10:06:40 UTC 2022


Module: Mesa
Branch: main
Commit: a9e34d6d8e1f1424819e4d457463490b9234867b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9e34d6d8e1f1424819e4d457463490b9234867b

Author: Yonggang Luo <luoyonggang at gmail.com>
Date:   Fri May  6 01:08:59 2022 +0800

ci: Building all mesa functional with mingw on debian

Signed-off-by: Yonggang Luo <luoyonggang at gmail.com>
Acked-by: Jesse Natalie <jenatali at microsoft.com>
Acked-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16084>

---

 .gitlab-ci/build/gitlab-ci.yml | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci/build/gitlab-ci.yml b/.gitlab-ci/build/gitlab-ci.yml
index 95911d8c677..0ac662e96b5 100644
--- a/.gitlab-ci/build/gitlab-ci.yml
+++ b/.gitlab-ci/build/gitlab-ci.yml
@@ -529,11 +529,32 @@ debian-mingw32-x86_64:
     C_ARGS: >
       -Wno-error=format
       -Wno-error=format-extra-args
+      -Wno-error=deprecated-declarations
+      -Wno-error=unused-function
+      -Wno-error=unused-variable
+      -Wno-error=unused-but-set-variable
+      -Wno-error=unused-value
+      -Wno-error=switch
+      -Wno-error=parentheses
+      -Wno-error=missing-prototypes
+      -Wno-error=sign-compare
+      -Wno-error=narrowing
+      -Wno-error=overflow
     CPP_ARGS: $C_ARGS
-    GALLIUM_DRIVERS: "swrast"
+    GALLIUM_DRIVERS: "swrast,d3d12,zink"
+    VULKAN_DRIVERS: "swrast,amd,microsoft-experimental"
+    GALLIUM_ST: >
+      -D gallium-opencl=icd
+      -D opencl-spirv=true
+      -D microsoft-clc=enabled
+      -D static-libclc=all
+      -D llvm=enabled
     EXTRA_OPTION: >
       -D spirv-to-dxil=true
-      -Dllvm=disabled
-      -Dzlib=disabled
-      -Dosmesa=true
+      -D gles1=enabled
+      -D gles2=enabled
+      -D osmesa=true
+      -D cpp_rtti=true
+      -D shared-glapi=enabled
+      -D zlib=enabled
       --cross-file=.gitlab-ci/x86_64-w64-mingw32



More information about the mesa-commit mailing list