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

Ron Lieberman ronl at codeaurora.org
Sun Sep 9 15:16:06 PDT 2012


This is a revised patch incorporating the new spelling

   llvm-vendor

 

[PATCH] Provide the capability of defining CLANG_VENDOR via

configure or cmake.

 

Default for the new configure option:

  --with-llvm-vendor defaults to null.

 

The vendor name is configured using the following option

  --with-llvm-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 -DLLVM_VENDOR=

cmake -DLLVM_VENDOR="INTLWICKET "

 

configure

configure --with-llvm-vendor=

configure --with-llvm-vendor="INTLWICKET "

 

---

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/20120909/075d921a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Provide-the-capability-of-defining-CLANG_VENDOR.patch
Type: application/octet-stream
Size: 4750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120909/075d921a/attachment.obj>


More information about the llvm-commits mailing list