Commit f9691c4d authored by K900's avatar K900
Browse files

mesa: drop clover

It's officially deprecated now, and Rusticl is both faster and more compatible.
parent 4b2040f5
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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