]> git.pld-linux.org Git - packages/Mesa.git/blame - llvm10.patch
- llvm rebuild
[packages/Mesa.git] / llvm10.patch
CommitLineData
1a2ebb25
JP
1--- mesa-mesa-20.0.4.orig/src/gallium/targets/opencl/meson.build 2020-04-03 11:25:46.000000000 +0200
2+++ mesa-mesa-20.0.4/src/gallium/targets/opencl/meson.build 2020-04-10 17:40:42.912810510 +0200
3@@ -31,6 +31,13 @@
4
5 llvm_libdir = dep_llvm.get_configtool_variable('libdir')
6
7+polly_dep = null_dep
8+polly_isl_dep = null_dep
9+if dep_llvm.version().version_compare('>=10.0.0')
10+ polly_dep = cpp.find_library('Polly', dirs : llvm_libdir, required : false)
11+ polly_isl_dep = cpp.find_library('PollyISL', dirs : llvm_libdir, required : false)
12+endif
13+
14 opencl_libname = with_opencl_icd ? 'MesaOpenCL' : 'OpenCL'
15
16 libopencl = shared_library(
17@@ -56,6 +63,7 @@
18 cpp.find_library('clangEdit', dirs : llvm_libdir),
19 cpp.find_library('clangLex', dirs : llvm_libdir),
20 cpp.find_library('clangBasic', dirs : llvm_libdir),
21+ polly_dep, polly_isl_dep,
22 ],
23 version : '@0@.0.0'.format(opencl_version),
24 install : true,
This page took 0.114236 seconds and 4 git commands to generate.