graphics/mesa-devel: Disable "-mtls-dialect=gnu2" when built with clang 19

Clang 19 now supports "-mtls-dialect=gnu2" but it does not work for us.
Originally, I tried to use "-ftls-model=initial-exec" but it caused
regressions.  Disable the optimization for now until we have a proper
implementation.

Approved by:	jbeich (maintainer)
PR:		282322
This commit is contained in:
Jung-uk Kim 2024-11-01 14:12:46 -04:00
parent 13d55b0eaa
commit 9deb1db063
2 changed files with 3 additions and 0 deletions

View file

@ -9,6 +9,7 @@ PATCHFILES+= 700efacda59c.patch:-p1:github
PATCH_SITES+= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
PATCHFILES+= 2930dcbb3329.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22246
PATCHFILES+= 11aaf934112c.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22941
PATCHFILES+= 5d48fb19553c.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31931
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Bleeding edge Mesa drivers (OpenCL, OpenGL, Vulkan)

View file

@ -7,3 +7,5 @@ SHA256 (2930dcbb3329.patch) = f90ab77950ba1a56d165f0bc8a3cbd9c5f624bb5c67d1c7f33
SIZE (2930dcbb3329.patch) = 1638
SHA256 (11aaf934112c.patch) = 4408d8c0c4bf559ddf32ddbd06766f4fd28cc30b199a1991b20c89cf99bb9121
SIZE (11aaf934112c.patch) = 780
SHA256 (5d48fb19553c.patch) = 316360bdb0e0eb46075a8e537e1147283d1e88f2ee48d9eac13bb8c24f7d7b46
SIZE (5d48fb19553c.patch) = 1090