[PATCH] fix clang examples build & test with configure and make.

Iain Sandoe iain at codesourcery.com
Wed May 28 12:30:32 PDT 2014


Hi Eric,

currently, when using configure & make, clang examples don't build and two of the tests fail with missing definitions (plugins dir and plugins extension).

small to patch to fix these,
(assumes that plugins reside in the shlib dir and have the same suffix, which is true for the cases I've tested).

this allows build and test to work with

make .... BUILD_EXAMPLES=1 ... 

OK?

Iain

P.S. it appears that there is also a parallel build issue [at least on OSX 10.8]
 - but right now I'm treating that as a separate problem.

(the latter is solvable by adding "examples" to DIRS instead of PARALLEL_DIRS in clang/Makefile .. but I haven't got to the bottom of what's actually going wrong).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: examples-makefixes.txt
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140528/269edc26/attachment.txt>
-------------- next part --------------




More information about the cfe-commits mailing list