[CMake] FindModulesExecuteAll test

Will Dicharry wdicharry at stellarscience.com
Thu Oct 29 17:05:01 EDT 2009


Orion Poplawski wrote:
> 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.
> 

Just so I understand...Are you referring to alternatives in the Fedora 
packaging sense?

-- 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/c12ebcfa/attachment.bin>


More information about the CMake mailing list