dev-util/intel-graphics-compiler: fix opencl-clang filename mismatch
authorMarek Szuba <marecki@gentoo.org>
Mon, 5 Aug 2019 15:19:15 +0000 (16:19 +0100)
committerMarek Szuba <marecki@gentoo.org>
Mon, 5 Aug 2019 15:26:33 +0000 (16:26 +0100)
commit0f58ae2424ed029568d83593821e22a66f10ae47
tree5cc49873a7c6b289efbf0a4c7205634a1a4a8134
parent32ae79382720371399454de7520d431e4380269b
dev-util/intel-graphics-compiler: fix opencl-clang filename mismatch

Upstream CMake files assumed that the shared-library file of opencl-clang
is named libopencl-clang.so.x if LLVM version is x.0.0 but
libopencl-clang.so.x.y.z otherwise. This is not correct, as
demonstrated by opencl-clang-8.0.1 - the shared library is still called
libopencl-clang.so.8. Make CMake always look for .so.x instead.

Closes: https://bugs.gentoo.org/690520
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki@gentoo.org>
dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.9-opencl-clang_solib_filename.patch [new file with mode: 0644]
dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.9.ebuild