diff options
author | Chris Bieneman <beanz@apple.com> | 2016-06-23 22:07:21 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-06-23 22:07:21 +0000 |
commit | f444c52628dbb4a852fb4e1f2ca0a7216d90dce7 (patch) | |
tree | b5f5a8723a7718412d626a41c6b5c9321b2d300e /.gitignore | |
parent | 55eeb454114ffd5478e31ac5312f514ab4db8493 (diff) |
[CMake] Add LLVM runtimes directory
Summary:
There are a few LLVM projects that produce runtime libraries. Ideally
runtime libraries should be built differently than other projects,
specifically they should be built using the just-built toolchain.
There is support for building compiler-rt in this way from the clang
build. Moving this logic into the LLVM build is interesting because it
provides a simpler way to extend the just-built toolchain to include
LLD and the LLVM object file tools.
Once this functionality is better fleshed out and tested we’ll want to
encapsulate it in a module that can be used for clang standalone
builds, and we’ll want to make it the default way to build compiler-rt.
With this patch applied there is no immediate change in the build.
Moving compiler-rt out from llvm/projects into llvm/runtimes enables
the functionality.
This code has a few improvements over the method provided by
LLVM_BUILD_EXTERNAL_COMPILER_RT. Specifically the sub-ninja command is
always invoked, so changes to compiler-rt source files will get built
properly, so this patch can be used for iterative development with
just-built tools.
This first patch only works with compiler-rt. Support for other
runtime projects will be coming in follow-up patches.
Reviewers: chandlerc, bogner
Subscribers: kubabrecka, llvm-commits
Differential Revision: http://reviews.llvm.org/D20992
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index e3d191dcbcc..8144debabd0 100644 --- a/.gitignore +++ b/.gitignore @@ -46,6 +46,8 @@ autoconf/autom4te.cache projects/* !projects/*.* !projects/Makefile +runtimes/* +!runtimes/*.* # Clang, which is tracked independently. tools/clang # LLDB, which is tracked independently. |