Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] HWLOC_API_VERSION [hwloc-svn] svn:hwloc r1741
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-02-26 15:50:47


On Feb 26, 2010, at 3:47 PM, Brice Goglin wrote:

> >>> +/** \brief Indicate at build time which hwloc API version is being used. */
> >>> +#define HWLOC_API_VERSION 0x00010000
> >>>
> >> I was wondering whether it couldn't be automatically generated from the
> >> autoconf information?
> >
> > Sure. What exactly do you want here? A date/timestamp?
>
> Should configure generate #define HWLOC_API_VERSION (X<<16)|(Y<<8)|Z
> when AC_INIT contains X.Y.Z ?

Ya, I parsed the original question wrong -- a date/timestamp would be dumb.

The API version may or may not be related to the hwloc library version, no? For that reason, I'm thinking that this should be separated and manually specified.

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/