http://llvm.org/bugs/show_bug.cgi?id=3796
Summary: Inclusions to generated header files are impractical for
building LLVM sources externally
Product: Build scripts
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Makefiles
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 3696
I've been working on some BSD Makefiles for LLVM and Clang, to figure out how
hard it is to integrate Clang into the FreeBSD base system. So far things have
been pretty easy, but there is one thing that makes working with the LLVM
source tree harder than it needs to be.
Throughout the source tree, we have some inclusions that look like this:
#include "llvm/Intrinsics.gen"
#include "llvm/Config/config.h"
#include "llvm/ADT/iterator.h"
#include "llvm/Support/DataTypes.h"
The disadvantage of these inclusions is that they have quite a list of
directories in front of them, which means if you want to store a (read-only)
fresh copy of the LLVM source tree, you have to reproduce this directory
structure as well. If it just used "Intrinsics.gen", "config.h", "iterator.h"
and "DataTypes.h", we could just store all these files in a single directory.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs