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

nobled nobled at dreamwidth.org
Sun Feb 12 06:14:29 PST 2012


ping?

On Sun, Feb 5, 2012 at 1:06 AM, nobled <nobled at dreamwidth.org> wrote:
> 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




More information about the llvm-commits mailing list