<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chris.bieneman@me.com" title="Chris Bieneman <chris.bieneman@me.com>"> <span class="fn">Chris Bieneman</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [cmake] Please make compiler-rt's build system stand-alone"
   href="https://llvm.org/bugs/show_bug.cgi?id=18331">bug 18331</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>chris.bieneman@me.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [cmake] Please make compiler-rt's build system stand-alone"
   href="https://llvm.org/bugs/show_bug.cgi?id=18331#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [cmake] Please make compiler-rt's build system stand-alone"
   href="https://llvm.org/bugs/show_bug.cgi?id=18331">bug 18331</a>
              from <span class="vcard"><a class="email" href="mailto:chris.bieneman@me.com" title="Chris Bieneman <chris.bieneman@me.com>"> <span class="fn">Chris Bieneman</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>