[llvm-commits] [PATCH] add LLVM_{MAJOR,MINOR}_VERSION defines

nobled nobled at dreamwidth.org
Sat Feb 4 22:06:52 PST 2012


On Sat, Feb 4, 2012 at 3:53 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi nobled,
>
>> This is useful for clients that want to maintain compatibility
>> across multiple releases of LLVM. Currently users like Klee and
>> Mesa all have to roll their own 'parse llvm-config --version
>> output and generate defines' solution.
>
> +set(LLVM_VERSION_MAJOR 3)
> +set(LLVM_VERSION_MINOR 1)
> +
>  set(PACKAGE_VERSION "3.1svn")
>
> Shouldn't the package version make use of LLVM_VERSION_MAJOR and
> LLVM_VERSION_MINOR?
Oops, yeah, definitely. Fixed.

>
> Ciao, Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-add-LLVM_-MAJOR-MINOR-_VERSION-defines.patch
Type: text/x-patch
Size: 5754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120205/9159c79c/attachment.bin>


More information about the llvm-commits mailing list