-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Open
Labels
Description
This was ported from Autotools, however it's entirely undocumented, so it's unclear what we are trying to support, or why (and if we can just drop this entirely). It'd be good if it was documented, even just inline in the source:
| if(NOT "$ENV{BITCOIN_GENBUILD_NO_GIT}" STREQUAL "1") |
Note that as-of 29.x, the ways we distribute our source code will be via git clone, or using a tarball that was generated via git archive. So I guess that the usecase for BITCOIN_GENBUILD_NO_GIT is to build from a git clone, but ignore the available version info (why?), or to build from a tarball that has been extacted into a git repository where we might pick up some other git information? It's unclear if this is an actual usecase.