tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

diff: llvm makefiles



Hi!

There're diffs which bring back not-so-commonly-used llvm features.

- added bsd.own.mk into {bin,lib}/Makefile early, so LLVM_DEVELOPER variable
is recognized
- repaired link order of lli and added missing libs

Index: bin/Makefile
===================================================================
RCS file: /cvsroot/src/external/bsd/llvm/bin/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- bin/Makefile        6 Feb 2011 01:13:43 -0000       1.1
+++ bin/Makefile        28 Mar 2011 07:15:44 -0000
@@ -1,5 +1,7 @@
 #      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:43 joerg Exp $
 
+.include <bsd.own.mk>
+
 SUBDIR=        clang \
        tblgen
 
Index: lib/Makefile
===================================================================
RCS file: /cvsroot/src/external/bsd/llvm/lib/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- lib/Makefile        23 Feb 2011 03:09:04 -0000      1.3
+++ lib/Makefile        28 Mar 2011 07:15:44 -0000
@@ -1,5 +1,7 @@
 # $NetBSD: Makefile,v 1.3 2011/02/23 03:09:04 joerg Exp $
 
+.include <bsd.own.mk>
+
 SUBDIR=        \
        libLLVMAnalysis \
        libLLVMAsmParser \
Index: bin/lli/Makefile
===================================================================
RCS file: /cvsroot/src/external/bsd/llvm/bin/lli/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- bin/lli/Makefile    18 Mar 2011 23:32:01 -0000      1.2
+++ bin/lli/Makefile    28 Mar 2011 07:15:44 -0000
@@ -10,21 +10,25 @@ NOMAN=              yes
 SRCS=  lli.cpp
 
 LLVM_LIBS+= \
+       X86CodeGen \
+       X86TargetInfo \
+       X86Utils \
+       X86AsmParser \
+       X86AsmPrinter \
+       AsmPrinter \
        AsmParser \
        BitReader \
        JIT \
        MCJIT \
        Interpreter \
        ExecutionEngine \
-       X86CodeGen \
-       X86TargetInfo \
-       X86Utils \
        SelectionDAG \
        CodeGen \
        Target \
        ScalarOpts \
        TransformsUtils \
        Analysis \
+       MCParser \
        MC \
        Core \
        Support


Home | Main Index | Thread Index | Old Index