mesa: drop clover
It's officially deprecated now, and Rusticl is both faster and more compatible.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user