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: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-02-26 15:47:39


Jeff Squyres wrote:
> On Feb 26, 2010, at 3:28 PM, Samuel Thibault 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 ?

Brice