src/CMakeLists.txt:145 does not allow compilation without the presence of a .git directory (or file).
This means that any marian-dev compile must always come from a git clone which is problematic for us as we are distributing marian-dev in a Python wheel package that, preferably, does not ship with .git directories.
List of changes:
Changed src/CMakeLists.txt
How to test
I have replaced the version with "unknown" when the git revision could not be established so that compilation may continue.
Description
src/CMakeLists.txt:145
does not allow compilation without the presence of a.git
directory (or file).This means that any
marian-dev
compile must always come from agit clone
which is problematic for us as we are distributingmarian-dev
in a Python wheel package that, preferably, does not ship with.git
directories.List of changes:
src/CMakeLists.txt
How to test
I have replaced the version with "unknown" when the git revision could not be established so that compilation may continue.