FS#44289 - [wine][opencl-headers] OpenCL not found by configure in wine
Attached to Project:
Community Packages
Opened by Gustavo Alvarez (sl1pkn07) - Saturday, 21 March 2015, 18:06 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 March 2015, 05:52 GMT
Opened by Gustavo Alvarez (sl1pkn07) - Saturday, 21 March 2015, 18:06 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 March 2015, 05:52 GMT
|
Details
Wine configure script search the OpenCL headers in
'openCL/opencl.h' path [1]
but in archlinux, that header is stored in 'CL/opencl.h' [2][3] the solution is: 1) change the headers path in the opencl-headers package 2) sed the wine configure/.ac with: sed 's|OpenCL/opencl.h|CL/opencl.h|g' -i configure* [1] https://github.com/wine-mirror/wine/blob/master/configure.ac#L398 [2] https://www.archlinux.org/packages/community/any/opencl-headers/files/ [3] https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/opencl-headers#n46 greetings |
This task depends upon
edit: more info
without sed:
checking OpenCL/opencl.h usability... no
checking OpenCL/opencl.h presence... no
checking for OpenCL/opencl.h... no
with sed:
checking CL/opencl.h usability... yes
checking CL/opencl.h presence... yes
checking for CL/opencl.h... yes