[llvm-commits] PATCH: Add Version.h and macros

Chris Lattner clattner at apple.com
Tue Oct 28 22:26:04 PDT 2008


On Oct 28, 2008, at 9:56 PM, Bill Wendling wrote:

> Hi Daniel,
>
> This will require a bit more thought. Right now, we generate Version.h
> when doing an Apple-style build. It looks like:
>
> 	#define LLVM_VERSION        1234
> 	#define LLVM_MINOR_VERSION     3
>
> This patch would conflict. I would like to get Devang's input on this.
> It's possible that a scheme can be developed that will kill two birds
> with one stone. :-)

Yeah, Bill's right, it would be good to unify these.

Also, it seems that it would be reasonable to use make something like:

#define LLVM_RELEASE_VERSION 24

For LLVM 2.4 etc?  Is there any specific reason to track branches?

-Chris



More information about the llvm-commits mailing list