commit | a5a658ab48f7dfa7fd134e505ef23304eaa0ce54 | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Tue Sep 02 15:07:07 2014 -0700 |
committer | Jason Evans <je@fb.com> | Tue Sep 02 15:07:07 2014 -0700 |
tree | 68e44fd8c9a0ee34c05e0b641020e52efe7741e1 | |
parent | 3ebf6db2c7fba746153cc67ca8fe6df7a886b8b8 [diff] |
Make VERSION generation more robust. Relax the "are we in a git repo?" check to succeed even if the top level jemalloc directory is not at the top level of the git repo. Add git tag filtering so that only version triplets match when generating VERSION. Add fallback bogus VERSION creation, so that in the worst case, rather than generating empty values for e.g. JEMALLOC_VERSION_MAJOR, configuration ends up generating useless constants.