mesa: drop clover

It's officially deprecated now, and Rusticl is both faster and more compatible.
This commit is contained in:
K900
2025-03-21 09:41:05 +03:00
parent 4b2040f561
commit f9691c4d68
+1 -5
View File
@@ -215,9 +215,6 @@ in stdenv.mkDerivation {
# Required for OpenCL
(lib.mesonOption "clang-libdir" "${lib.getLib llvmPackages.clang-unwrapped}/lib")
# Clover, old OpenCL frontend
(lib.mesonOption "gallium-opencl" "icd")
# Rusticl, new OpenCL frontend
(lib.mesonBool "gallium-rusticl" true)
@@ -321,9 +318,8 @@ in stdenv.mkDerivation {
moveToOutput bin/vtn_bindgen $cross_tools
moveToOutput "lib/lib*OpenCL*" $opencl
# Construct our own .icd files that contain absolute paths.
# Construct our own .icd file that contains an absolute path.
mkdir -p $opencl/etc/OpenCL/vendors/
echo $opencl/lib/libMesaOpenCL.so > $opencl/etc/OpenCL/vendors/mesa.icd
echo $opencl/lib/libRusticlOpenCL.so > $opencl/etc/OpenCL/vendors/rusticl.icd
moveToOutput bin/spirv2dxil $spirv2dxil