[LLVMdev] Transitioning build to cmake

Sean Silva chisophugis at gmail.com
Wed Jul 24 13:07:32 PDT 2013


On Wed, Jul 24, 2013 at 1:03 PM, Jeremy Huddleston Sequoia <
jeremyhu at apple.com> wrote:

> 4) Building clang using installed llvm
>>
>> It looks like there is some support for building clang against an
>> installed llvm by setting CLANG_PATH_TO_LLVM_BUILD.  This fails miserably
>> in part because the installed llvm cmake files reference build time paths,
>> but even after fixing that, there are tons of build failures.  I'm guessing
>> this is still a work in progress, but if I should file bugs, please let me
>> know.
>
>
> This is probably not a very good idea because clang evolves in lock-step
> with LLVM. Unless the installed LLVM is the same revision as the clang you
> are building,
>
>
> They match revision.  We just need to split the build into two subports to
> break dependency cycles, and I'm hoping to avoid rebuilding the core
> libraries a second time.
>
>
Ah, OK. Definitely a bug in our build system then.

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130724/e430f1cd/attachment.html>


More information about the llvm-dev mailing list