Bug#501666: llvm-examples: Makefiles broken, examples don't build

Y Giridhar Appaji Nag appaji at debian.org
Thu May 28 18:58:19 UTC 2009


Hi Mario,

On 08/10/09 13:43 +0200, Mario Lang said ...
> The examples provided in this package do not build.
> 
> This is most likely due to the following line in
> /usr/share/doc/llvm-examples/Makefile.config:
> 
> LLVM_SRC_ROOT   := $(shell cd /tmp/buildd/llvm-2.2/build-llvm/..; $(PWD))

Unfortunately, the examples (and other LLVM tools, like clang) currently
assume that you are compiling from someplace where the LLVM source tree is
accessible.

You will have to workaround this by (a) copying the Makefile.* from that
/usr/share/doc/llvm-examples/ folder and modifying them appropriately or (b)
use your own build-system and use llvm-config.

Giridhar

-- 
Y Giridhar Appaji Nag | http://appaji.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20090529/83bde402/attachment.pgp>


More information about the Pkg-llvm-team mailing list