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

Ron Lieberman ronl at codeaurora.org
Sat Sep 8 14:10:03 PDT 2012


Provide the capability of defining the CLANG_VENDOR with configure or cmake.

 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120908/a07f2322/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Provide-the-capability-of-defining-the-CLANG_VENDOR-.patch
Type: application/octet-stream
Size: 4777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120908/a07f2322/attachment.obj>


More information about the llvm-commits mailing list