[llvm-bugs] [Bug 18331] [cmake] Please make compiler-rt's build system stand-alone

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 19 10:44:58 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=18331

Chris Bieneman <chris.bieneman at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |chris.bieneman at me.com
         Resolution|---                         |FIXED

--- Comment #4 from Chris Bieneman <chris.bieneman at me.com> ---
This does work today, and it is extensively used. That said, it is important to
understand that you do not need clang to build compiler-rt. Compiler-RT is used
with GCC as well as Clang (which is part of why the standalone build is so
important).

There are two ways to have in-tree "standalone" builds which use the just-built
clang. The mechanism Samsonov commented on
"-DLLVM_BUILD_EXTERNAL_COMPILER_RT=On" is more mature, and well supported.
Additionally Compiler-RT can be placed in the new LLVM/runtimes subdirectory if
you have an LLVM tree. The new runtimes subdirectory seeks to solve a wider
problem of enabling building all runtime projects and managing inter-project
dependencies.

Marking as resolved, if there are further issues please let me know.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160819/f0d34f5c/attachment.html>


More information about the llvm-bugs mailing list