[llvm-commits] [PATCH] Provide the capability of defining the CLANG_VENDOR with configure or cmake.

Duncan Sands baldrick at free.fr
Sat Sep 8 22:43:12 PDT 2012


Hi Ron,

On 08/09/12 23:10, Ron Lieberman wrote:
> Provide the capability of defining the CLANG_VENDOR with configure or cmake.

how about calling it LLVM_VENDOR instead?  After all, it may be useful for all
kinds of projects using LLVM, not just clang.  And I don't much like putting
clang specific stuff into LLVM if it can be avoided - seems like a layering
violation.

Ciao, Duncan.

>
> Default for the new configure options:
>
>    --with-clang-vendor defaults to null.
>
> The vendor name is configured using the following option
>
>    --with-clang-vendor="INTLWICKET " \
>
> Examples:
>
> $ clang -v
>
> INTLWICKET clang version 3.2  (based on LLVM 3.2svn)
>
> Target: x86_64-unknown-linux-gnu
>
> Thread model: posix
>
> The __VERSION__ macro becomes:
>
> define __VERSION__ "4.2.1 Compatible INTLWICKET Clang 3.2 "
>
> Testing:
>
> cmake
>
> cmake -DCLANG_VENDOR=
>
> cmake -DCLANG_VENDOR="INTLWICKET "
>
> configure
>
> configure --with-clang-vendor=
>
> configure --with-clang-vendor="INTLWICKET "
>
> Ron Lieberman
>
> ---
>
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The
> Linux Foundation
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list