mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
3fe6b38cf2
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 llvm-svn: 273620
69 lines
2.1 KiB
Plaintext
69 lines
2.1 KiB
Plaintext
#==============================================================================#
|
|
# This file specifies intentionally untracked files that git should ignore.
|
|
# See: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
|
|
#
|
|
# This file is intentionally different from the output of `git svn show-ignore`,
|
|
# as most of those are useless.
|
|
#==============================================================================#
|
|
|
|
#==============================================================================#
|
|
# File extensions to be ignored anywhere in the tree.
|
|
#==============================================================================#
|
|
# Temp files created by most text editors.
|
|
*~
|
|
# Merge files created by git.
|
|
*.orig
|
|
# Byte compiled python modules.
|
|
*.pyc
|
|
# vim swap files
|
|
.*.sw?
|
|
.sw?
|
|
#OS X specific files.
|
|
.DS_store
|
|
|
|
#==============================================================================#
|
|
# Explicit files to ignore (only matches one).
|
|
#==============================================================================#
|
|
# Various tag programs
|
|
/tags
|
|
/TAGS
|
|
/GPATH
|
|
/GRTAGS
|
|
/GSYMS
|
|
/GTAGS
|
|
.gitusers
|
|
autom4te.cache
|
|
cscope.files
|
|
cscope.out
|
|
autoconf/aclocal.m4
|
|
autoconf/autom4te.cache
|
|
/compile_commands.json
|
|
|
|
#==============================================================================#
|
|
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
|
|
#==============================================================================#
|
|
# External projects that are tracked independently.
|
|
projects/*
|
|
!projects/*.*
|
|
!projects/Makefile
|
|
runtimes/*
|
|
!runtimes/*.*
|
|
# Clang, which is tracked independently.
|
|
tools/clang
|
|
# LLDB, which is tracked independently.
|
|
tools/lldb
|
|
# lld, which is tracked independently.
|
|
tools/lld
|
|
# llgo, which is tracked independently.
|
|
tools/llgo
|
|
# Polly, which is tracked independently.
|
|
tools/polly
|
|
# Sphinx build tree, if building in-source dir.
|
|
docs/_build
|
|
|
|
#==============================================================================#
|
|
# Files created in tree by the Go bindings.
|
|
#==============================================================================#
|
|
bindings/go/llvm/llvm_config.go
|
|
bindings/go/llvm/workdir
|