tmLQCD icon indicating copy to clipboard operation
tmLQCD copied to clipboard

store git hash also in xlf-info message of gauge and propagator files

Open urbach opened this issue 13 years ago • 3 comments

currently there is only the hmc version, but not the git hash. This is currently quite missleading.

We should also increase the version soon...

urbach avatar Jan 02 '13 22:01 urbach

I wanted to implement this a while ago but I became confused by how the xlf-info was constructed. One thing that I remember is that the git-hash needs to be passed through as a function parameter, otherwise, because git-hash.h is built dynamically and defines a constant, things become a bit confusing to the linker.

kostrzewa avatar Jan 03 '13 09:01 kostrzewa

yes, the compilers keep complaining about the git-hash being a constant...

urbach avatar Jan 03 '13 11:01 urbach

I think I wrote this code originally, so I can have a look.

deuzeman avatar Jan 03 '13 14:01 deuzeman