aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/libllvmpowerpcinfo
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-08-26 22:44:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-08-26 22:44:22 +0000
commit986e05bc2a18e58ffe5ad5c944e4c188d01a4462 (patch)
tree77d6cefbacfed7e4b4b53080e3cc6a06dd50fcaf /lib/clang/libllvmpowerpcinfo
parente9c25f21083a601b3e38689c6ed2a25ae1f5e046 (diff)
Completely revamp the way llvm, clang and lldb are built.
* Bootstrap llvm-tblgen and clang-tblgen with a minimal llvm static library, that has no other dependencies. * Roll up all separate llvm libraries into one big static libllvm. * Similar for all separate clang and lldb static libraries. * For all these libraries, generate their .inc files only once. * Link all llvm tools (including extra) against the big libllvm. * Link clang and clang-format against the big libllvm and libclang. * Link lldb against the big libllvm, libclang and liblldb. N.B.: This is work in progress, some details may still be missing. It also heavily depends on bsd.*.mk's support for SRCS and DPSRCS with relative pathnames, which apparently does not always work as expected. For building llvm, clang and lldb though, it seems to work just fine. The main idea behind this restructuring is maintainability and build peformance. The previous large number of very small libraries, each with their own generated files and dependencies was slow to traverse and hard to understand. Possible future improvements: * Only build certain targets, e.g. for most regular users having just one target will be fine. This will shave off some build time. * Building the big llvm, clang and lldb libraries as shared (private) libraries. * Adding other components from the LLVM project, such as lld.
Notes
Notes: svn path=/projects/clang390-import/; revision=304867
Diffstat (limited to 'lib/clang/libllvmpowerpcinfo')
-rw-r--r--lib/clang/libllvmpowerpcinfo/Makefile16
-rw-r--r--lib/clang/libllvmpowerpcinfo/Makefile.depend16
2 files changed, 0 insertions, 32 deletions
diff --git a/lib/clang/libllvmpowerpcinfo/Makefile b/lib/clang/libllvmpowerpcinfo/Makefile
deleted file mode 100644
index db1577642102..000000000000
--- a/lib/clang/libllvmpowerpcinfo/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-# $FreeBSD$
-
-.include <bsd.own.mk>
-
-LIB= llvmpowerpcinfo
-
-SRCDIR= lib/Target/PowerPC/TargetInfo
-INCDIR= lib/Target/PowerPC
-SRCS= PowerPCTargetInfo.cpp
-
-TGHDRS= Attributes \
- PPCGenInstrInfo \
- PPCGenRegisterInfo \
- PPCGenSubtargetInfo
-
-.include "../clang.lib.mk"
diff --git a/lib/clang/libllvmpowerpcinfo/Makefile.depend b/lib/clang/libllvmpowerpcinfo/Makefile.depend
deleted file mode 100644
index 00c24e795655..000000000000
--- a/lib/clang/libllvmpowerpcinfo/Makefile.depend
+++ /dev/null
@@ -1,16 +0,0 @@
-# $FreeBSD$
-# Autogenerated - do NOT edit!
-
-DIRDEPS = \
- include \
- include/xlocale \
- lib/libc++ \
- lib/msun \
- usr.bin/clang/llvm-tblgen.host \
-
-
-.include <dirdeps.mk>
-
-.if ${DEP_RELDIR} == ${_DEP_RELDIR}
-# local dependencies - needed for -jN in clean tree
-.endif