]> git.pld-linux.org Git - packages/Mesa.git/blobdiff - llvm10.patch
i915/i965/iris/vmwgfx dri drivers built only on intel archs
[packages/Mesa.git] / llvm10.patch
index 2819ce3940ac7145f2cd0131f81ecf09241c9362..1f1fb34af4a67bef31903508bd049b1629ffdff1 100644 (file)
@@ -1,6 +1,6 @@
---- mesa-mesa-20.0.4.orig/src/gallium/targets/opencl/meson.build       2020-04-03 11:25:46.000000000 +0200
-+++ mesa-mesa-20.0.4/src/gallium/targets/opencl/meson.build    2020-04-10 17:40:42.912810510 +0200
-@@ -31,6 +31,13 @@
+--- mesa-mesa-20.0.5/src/gallium/targets/opencl/meson.build.orig       2020-04-22 23:35:13.000000000 +0200
++++ mesa-mesa-20.0.5/src/gallium/targets/opencl/meson.build    2020-04-25 17:05:51.190967800 +0200
+@@ -31,6 +31,13 @@ endif
  
  llvm_libdir = dep_llvm.get_configtool_variable('libdir')
  
 +
  opencl_libname = with_opencl_icd ? 'MesaOpenCL' : 'OpenCL'
  
- libopencl = shared_library(
-@@ -56,6 +63,7 @@
+ dep_clang = cpp.find_library('clang-cpp', dirs : llvm_libdir, required : false)
+@@ -49,6 +56,7 @@ if not dep_clang.found()
      cpp.find_library('clangEdit', dirs : llvm_libdir),
      cpp.find_library('clangLex', dirs : llvm_libdir),
      cpp.find_library('clangBasic', dirs : llvm_libdir),
 +    polly_dep, polly_isl_dep,
-   ],
-   version : '@0@.0.0'.format(opencl_version),
-   install : true,
+   ]
+ endif
This page took 0.028657 seconds and 4 git commands to generate.