[CMake] FindModulesExecuteAll test

Orion Poplawski orion at cora.nwra.com
Thu Oct 29 16:47:23 EDT 2009


On 10/29/2009 02:38 PM, Will Dicharry wrote:
> Orion Poplawski wrote:
>> On 10/29/2009 02:31 PM, Will Dicharry wrote:
>>> Orion,
>>>
>>> While searching for probable causes of hdf5.h being in your /usr/include
>>> without H5pubconf.h (it is required by hdf5.h), I came across some
>>> patches in fedora 11 cvs that you have made to hdf5 code. Is it possible
>>> that your system has a bad hdf5 install?
>>>
>>> I plan on submitting the fix to check for existence, but I'd really like
>>> to know the circumstances that lead to hdf5.h existing while H5pubconf.h
>>> does not exist.
>>>
>>
>> multi-arch compatibility. H5pubconf.h is different for 32-bit and
>> 64-bit builds of hdf5. So, we make H5pubconf-32.h and H5pubconf-64.h
>> and include the appropriate one as needed in H5public.h. As I
>> understand it, no one should be including H5pubconf.h directly.
>>
>
> Agreed, but the find module uses H5pubconf.h to determine if the found
> HDF5 install is serial or parallel. If I can't find the file, then I
> guess the value will need to default to serial. Do you believe this is
> acceptable behavior?

It's probably safe.  I can also probably change the hdf5 package to also 
use alternatives for H5pubconf.h so that it can be checked.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the CMake mailing list