rusticl/feat: LinkOnce ODR

Reviewed-by: Karol Herbst <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33133>
This commit is contained in:
David Tobolik
2025-01-21 10:53:41 +01:00
committed by Marge Bot
parent 7bf4d6a4db
commit 457b159383
6 changed files with 42 additions and 2 deletions

View File

@@ -980,7 +980,7 @@ Rusticl extensions that are not part of any OpenCL version:
cl_khr_pci_bus_info DONE (iris, nvc0, radeonsi, zink)
cl_khr_priority_hints not started
cl_khr_spirv_extended_debug_info not started
cl_khr_spirv_linkonce_odr not started
cl_khr_spirv_linkonce_odr DONE
cl_khr_spirv_no_integer_wrap_decoration DONE
cl_khr_srgb_image_writes not started
cl_khr_subgroup_ballot not started

View File

@@ -0,0 +1 @@
cl_khr_spirv_linkonce_odr in rusticl

View File

@@ -55,7 +55,7 @@ The minimum versions to build Rusticl are:
- Clang: 15.0.0
Updating clang requires a rebuilt of mesa and rusticl if and only if the value of
``CLANG_RESOURCE_DIR`` changes. It is defined through ``clang/Config/config.h``.
- SPIRV-Tools: any version (recommended: v2022.3)
- SPIRV-Tools: any version (recommended: v2025.1)
Afterwards you only need to add ``-Dgallium-rusticl=true -Dllvm=enabled
-Drust_std=2021`` to your build options.