[LLVMdev] Add ability for external projects use for build installed version LLVM [PATCH]
Vladimir Merzliakov
wanderer at rsu.ru
Mon Feb 7 08:49:18 PST 2005
>> Also I have in Makefile.rules (but not include in patch) some
>> modification for simplify used common Makefile.rules in LLVM projects and
>> non-LLVM project (guarding some LLVM specific parts by ifdef
>> LLVM_OBJ_ROOT/LLVM_SRC_ROOT vars).
>
> I'm not sure about this, perhaps Reid would like to comment?
>
Patch attached.
This patch with header installation patch (
http://mail.cs.uiuc.edu/pipermail/llvmdev/2005-February/003300.html )
let external project (I am test it at my YAFL frontend for LLVM) build using
installed LLVM version instead using LLVM obj/src dirs.
After patch applying:
If LLVM_SRC_ROOT/LLVM_OBJ_ROOT variables set
project use for build LLVM object/source dir (current behavior)
or else if LLVM_ROOT set
project use for build installed LLVM dir
or else
project can use only LLVM tools in PATHs if installed LLVM dir added to PATH
Also i remove LLVMExmplDir (i not found any it uses in llvm, llvm-java,
llvm-test CVS modules)
And remove redundent line (as i think):
.PRECIOUS: $(LLVMLibDir)/.dir $(LLVMToolDir)/.dir $(LLVMExmplDir)/.dir
Any comments?
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.rules.patch
Type: application/octet-stream
Size: 6145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050207/706e6954/attachment.obj>
More information about the llvm-dev
mailing list