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

Óscar Fuentes ofv at wanadoo.es
Mon May 18 13:22:43 PDT 2009


Benjamin Kramer <benny.kra at googlemail.com> writes:

> In the current version of my patch the revision is only updated on a  
> re-configure/CMake. On a second thought that is quite stupid. But I'm  
> not sure what's the best way to fix this. I guess we need to add a  
> target which is always run to llvm-config's Makefile ...

This is easy: see the logic for regenerating llvm-config when the file
that contains the library dependencies changes.

Why do you use `svn info' and not `svnversion'?

And this brings another question: how do you deal with modified working
copies?

-- 
Óscar Fuentes
Desarrollo de Software




More information about the llvm-dev mailing list