aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/libclangrewritefrontend
Commit message (Collapse)AuthorAgeFilesLines
* Completely revamp the way llvm, clang and lldb are built.Dimitry Andric2016-08-262-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: svn path=/projects/clang390-import/; revision=304867
* Merge ^/head r295902 through r296006.Dimitry Andric2016-02-241-34/+0
|\ | | | | | | Notes: svn path=/projects/clang380-import/; revision=296007
| * DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-34/+0
| | | | | | | | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* | First part of updating llvm/clang build glue: getting llvm-tblgen,Dimitry Andric2015-12-311-1/+6
|/ | | | | | | clang-tblgen and clang itself built. Notes: svn path=/projects/clang380-import/; revision=292988
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+50
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-26/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-3/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Updated dependenciesSimon J. Gerraty2014-05-161-2/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * New dependenciesSimon J. Gerraty2013-10-131-0/+74
| | | | | | | | Notes: svn path=/projects/bmake/; revision=256418
* | Disable the ObjC rewriter modules, since according to rdivacky these areDimitry Andric2014-11-241-2/+0
| | | | | | | | | | | | | | only used by Xcode. This shaves off some compilation time. Notes: svn path=/projects/clang350-import/; revision=274982
* | Update llvm and clang library Makefiles.Dimitry Andric2014-11-241-1/+1
|/ | | | Notes: svn path=/projects/clang350-import/; revision=274973
* Upgrade our copy of llvm/clang to trunk r178860, in preparation of theDimitry Andric2013-04-121-0/+1
| | | | | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished. Notes: svn path=/head/; revision=249423
* Pull in r170135 from upstream clang trunk:Dimitry Andric2013-02-021-0/+2
| | | | | | | | | | | | | | | | | | | Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. MFC after: 1 week Notes: svn path=/head/; revision=246259
* Upgrade our copy of llvm/clang to r168974, from upstream's release_32Dimitry Andric2012-12-031-0/+23
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is coming soon. Notes: svn path=/head/; revision=243830