Displaying 3 results from an estimated 3 matches for "minimum_that_contains_allyouneed".
2009 May 18
0
[LLVMdev] [PATCH] llvm-config: add svn revision to --version
Xerxes RĂ„nby wrote:
> Frits van Bommel skrev:
>> Benjamin Kramer wrote:
>>> The attached patch modifies the llvm build system (both autotools and
>>> cmake) to write the revision into PACKAGE_VERSION:
>>>
>>> $ llvm-config --version
>>> 2.6-71981
>>>
>> I don't think that's enough for LDC; we want to be able to
2009 May 18
3
[LLVMdev] [PATCH] llvm-config: add svn revision to --version
...> the current approach.
I think you don't need to support all trunk revisions.
People using trunk could be told to either update to a certain revision,
or stick to a released version.
This should suffice:
#if LLVM_VERSION >= 25
....
#endif
#if LLVM_VERSION == 26
#if LLVM_REVISION < MINIMUM_THAT_CONTAINS_ALLYOUNEED
#error "Please update to SVN rXYZ"
#else
//code for SVN API
#endif
Best regards,
--Edwin
2009 May 18
2
[LLVMdev] [PATCH] llvm-config: add svn revision to --version
Frits van Bommel skrev:
> Benjamin Kramer wrote:
>
>> At the moment llvm-config outputs "2.6svn" if llvm is build from trunk
>>
>> $ llvm-config --version
>> 2.6svn
>>
>> Some external projects (built out-of-tree) need to know which revision
>> of llvm is installed. LDC currently asks llvm-config --src-root for the
>> source