[LLVMdev] [PATCH] llvm-config: add svn revision to --version

Anton Korobeynikov anton at korobeynikov.info
Mon May 18 07:51:31 PDT 2009

> I don't think that's enough for LDC; we want to be able to compare the version
> with #if, so we need it to produce something like '#define LLVM_REV 71981' (i.e.
> a raw integer, not a string).
Why don't introduce some another option for it? E.g. llvm-config --revision ?

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list