[Beignet] [PATCH] Make FindLLVM.cmake work with empty "system-libs"

Steven Newbury steve at snewbury.org.uk
Wed Dec 16 15:33:11 PST 2015


On Gentoo we sanitise and fix up llvm-config to work with shared
libraries and to provide correct output for @world to build against.
 (See https://bugs.gentoo.org/show_bug.cgi?id=565358) Part of this is
we wipe "system-libs" since it's inappropriate to link to
unnecessarily.

This has revealed the FindLLVM.cmake included with Beignet fails when
system-libs is empty.  Attached patch fixes this by checking for a
result before calling REGEX.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: beignet-9999-fix-FindLLVM.patch
Type: text/x-patch
Size: 431 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20151217/1f6fe85d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20151217/1f6fe85d/attachment.sig>


More information about the Beignet mailing list