[CMake] FindModulesExecuteAll test

Will Dicharry wdicharry at stellarscience.com
Thu Oct 29 16:38:25 EDT 2009


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?

-- Will

-- 
Will Dicharry
Software Developer
Stellar Science Ltd Co
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3344 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091029/7e9cb69b/attachment.bin>


More information about the CMake mailing list