We just changed the version numbering scheme over in OMPI to always be "a.b.c",
even if c==0. Do we want the same thing in hwloc?
Right now, hwloc uses the old OMPI versioning scheme -- it's "a.b.c", except
when c==0, and then the version is "a.b".
It's a pretty simple change:
diff --git a/config/hwloc_get_version.sh b/config/hwloc_get_version.sh
index 45139f4..4a3d201 100755
--- a/config/hwloc_get_version.sh
+++ b/config/hwloc_get_version.sh
@@ -43,12 +43,7 @@ else
p" < "$srcfile"`
eval "$ompi_vers"
- # Only include the release version if it isn't 0
- if test $HWLOC_RELEASE_VERSION -ne 0 ; then
- HWLOC_VERSION="$HWLOC_MAJOR_VERSION.$HWLOC_MINOR_VERSION.$HWLOC_REL
- else
- HWLOC_VERSION="$HWLOC_MAJOR_VERSION.$HWLOC_MINOR_VERSION"
- fi
+ HWLOC_VERSION="$HWLOC_MAJOR_VERSION.$HWLOC_MINOR_VERSION"
HWLOC_VERSION="${HWLOC_VERSION}${HWLOC_GREEK_VERSION}"
# If HWLOC_SNAPSHOT=1, then use HWLOC_SNAPSHOT_VERSION
--
Jeff Squyres
[email protected]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/