configure: enable the OpenCL ICD by default
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 16 Oct 2017 15:40:08 +0000 (16:40 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 8 Nov 2017 14:10:33 +0000 (14:10 +0000)
commit6ef9482b78d5c486f4d40785b7f04c3dabf81ff9
treea981b2246bc275e28e28fdb01bfff8c5a06ebb08
parent0cd09585441d15ef1ff49de497008103f0b0e1ac
configure: enable the OpenCL ICD by default

Nearly all the distributions* that build Mesa OpenCL, enable the ICD.
Since building a non-ICD driver has the chance of conflicting with
existing OpenCL binary (libOpenCL.so).

Furthermore, some applications expect the library to provide
annotated/versioned symbols.

https://lists.freedesktop.org/archives/mesa-dev/2017-September/171093.html

*Fedora, Suse, Arch, Debian, Ubuntu, FreeBSD use the ICD
Gentoo manages the conflicting files via eselect.

Cc: Matt Turner <mattst88@gmail.com>
Cc: Jan Vesely <jan.vesely@rutgers.edu>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-By: Aaron Watry <awatry@gmail.com>
Makefile.am
configure.ac