Is your feature request related to a problem? Please describe.
Basically all of the component codes requires an include path for FMS/include to use the file_version.fh file. This file just sets the current version of FMS so it can be written out by write_file_version in the component code. Currently, it is not being set so will always be 'unknown'.
Describe the solution you'd like
mkmf has an option -g which will automagically set this value to the current git hash, it just needs to be added to the compile scripts when generating the makefile for FMS.
Describe alternatives you've considered
we could also just not write the version numbers, seems kinda unnecessary. Unfortunately, updating all the components to not use it would probably be more effort than its worth.
Is your feature request related to a problem? Please describe.
Basically all of the component codes requires an include path for
FMS/includeto use thefile_version.fhfile. This file just sets the current version of FMS so it can be written out bywrite_file_versionin the component code. Currently, it is not being set so will always be 'unknown'.Describe the solution you'd like
mkmf has an option
-gwhich will automagically set this value to the current git hash, it just needs to be added to the compile scripts when generating the makefile for FMS.Describe alternatives you've considered
we could also just not write the version numbers, seems kinda unnecessary. Unfortunately, updating all the components to not use it would probably be more effort than its worth.