[openib-general] [RFC] OpenSM: include svn version in build string
Hal Rosenstock
halr at voltaire.com
Tue Nov 22 06:52:04 PST 2005
Hi,
It has been requested (several times now :-) that the svn version be
included in the OpenSM build string version info (as 1.1.0 isn't nearly
descriptive enough). This needs to work both in and out of the OpenIB
svn tree as builds will occur both ways.
So one way to accomplish this which has additional overhead on each
checkin is to maintain something like an osm_svnversion file at the osm
level of the tree and display that in opensm/main.c when OpenSM starts
up.
Another way would be to modify include/opensm/osm_base.h OSM_VERSION
with this info. Again. manual.
Anyone see how to get away from the manual overhead of this ?
Anyone have other ideas on how to solve this ? (Are there other examples
of this out there ?)
Thanks.
-- Hal
More information about the general
mailing list