[cfe-dev] please check out compiler-rt

Daniel Dunbar daniel at zuster.org
Tue Dec 6 19:07:35 PST 2011


Hi all,

Executive Summary:
--
Please check out compiler-rt into llvm/projects, and keep it up to
date. For example:
  (cd ~/llvm/projects && svn co
http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt)
or:
  (cd ~/llvm/projects && git clone http://llvm.org/git/compiler-rt.git)

Long Version:
--
We've had the compiler-rt project (and used it for productizing
Clang/Darwin) for a while now, but we've never really publicized it
for day-to-day development and most developers probably don't have it
checked out.

However, with the recent introduction of more Clang code which
requires runtime support (first profiling, most recently ASAN), it's
becoming more important that developers have a checked out version of
compiler-rt in order to ensure that the built compiler functions
properly.

The plan is that we will use the compiler-rt project to hold the
source code for all of the runtime libraries we need for LLVM/Clang.
This is still in its infancy for platforms other than Darwin, but it
would be good to migrate the standard development setup to include a
checkout of compiler-rt now. My goal is that all you need to do is
check compiler-rt out into $(LLVM_SRC_ROOT)/projects/compiler-rt and
keep it up to date. Currently the Makefiles will automagically (try
to) do the compiler-rt build if it's been checked out. Ideally, one
day we would have the same support for CMake as well.

I have updated the "Getting Started' web page to reflect this.

Cheers,
 - Daniel



More information about the cfe-dev mailing list