[cfe-dev] make target for clang

Nico Weber thakis at chromium.org
Thu Jul 19 09:57:01 PDT 2012


On Wed, Jul 11, 2012 at 6:30 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> 2012/7/12 Richard Smith <richard at metafoo.co.uk>:
>> Last time I tried it, under cmake, "make clang" was not sufficient to build
>> a working clang, because it didn't copy the headers from lib/Headers into
>> the right place in the build tree. I think "make clang clang-headers" is
>> enough.
>
> Sure. Do you think it would make sense that clang depends on clang-headers?

I think that'd make sense. It took me a while to figure out that I
need to build clang-headers when I used cmake for the first time.

Nico

> FYI, check-clang depends on both clang and clang-headers.
>
> PS. similarly, "make clang-headers clang", multiple targets on
> cmake-generated makefiles sometimes would cause  weird failure in
> build.
>
> ..Takumi
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list