[Nexus] CMake build for NAPI

Campbell, Stuart I. campbellsi at ornl.gov
Fri Aug 14 15:10:49 BST 2015


Just wondering, why such an old version of CMake ?  There are a lot of good changes in later versions, 2.8.12 is a good version to require.

Cheers
Stu




On 8/14/15, 8:45 AM, "NeXus on behalf of Peterson, Peter F." <nexus-bounces at nexusformat.org on behalf of petersonpf at ornl.gov> wrote:

>Eugen,
>
>I assume that you saw my changes. Amongst the things that still need to
>happen is:
> 1. Look at what finders exist in cmake 2.8.8 (what you currently require)
>and use them rather than writing your own.
>https://github.com/Kitware/CMake/tree/master/Modules
> 2. Register all of the tests so ctest can run them.
> 3. Start getting language bindings working. C++ is the only one I tried.
>It is completely non-functional.
> 4. Try on a 64bit system. What is there currently doesn¹t look in
>/usr/lib64 which is a standard place.
> 5. Figure out how to package things. I recommend against cpack on the
>linuxes as it has bad support (especially in cmake 2.8.8) for multiple
>sub-packages like what nexus currently ships with.
>
>I can continue to chip away at things, but I thought it would be best if
>we had a common plan.
>
>P^2
>
>On 8/14/15, 6:13 AM, "NeXus on behalf of Eugen Wintersberger"
><nexus-bounces at nexusformat.org on behalf of eugen.wintersberger at desy.de>
>wrote:
>
>>Hi Mark,
>> I will have a look on this during the weekend. Thanks for the feedback.
>>
>>Eugen
>>
>>On 08/14/15 11:59, Koennecke Mark (PSI) wrote:
>>> Eugen,
>>> 
>>> 
>>>> Am 11.08.2015 um 20:26 schrieb Eugen Wintersberger
>>>><eugen.wintersberger at desy.de>:
>>>>
>>>> Hi folks,
>>>> as you may know, I am working on the cmake build for NAPI. A very
>>>> simple build based on CMake is now ready for testing. It would be nice
>>>> if some of you maybe could test the build (dynamic and static library)
>>>> on linux. I tested the build on Debian Wheezy and Jessie, as well as on
>>>> CentOS 7. However, more extensive testing is required.
>>>>
>>> 
>>> I have tested the cmake build both under scientific linux 6 and OSX
>>>yosemite. In both cases
>>> the basic build runs. But when I tried to run the test it failed
>>>because the test program was
>>> configured for HDF4. This needs to be improved.
>>> 
>>> I then proceeded to try and build it with  HDF4. The build could not
>>>pick up HDF4. I have it in a
>>> non standard location and I tried to coerce cmake to locate it using
>>>two different paths:
>>> * by CFLAGS and LDFLAGS
>>> * by a CMAKE_LIBRARY_PATH in CMakeLists.txt
>>> 
>>> Both failed such that I assume there is something wrong  with the HDF4
>>>detection code.
>>> 
>>> Another suggestion: the CMAKE_LIBRARY_PATH thing should be in the
>>>CMakeList.txt by 
>>> default. Commented out and accompanied with a explanation: change this
>>>if your stuff 
>>> lives elsewhere.
>>> 
>>> Regards,
>>> 
>>>      Mark
>>>  
>>> 
>>>> I am looking forward to your feedback.
>>>>
>>>> best regards
>>>> Eugen
>>>>
>>>> _______________________________________________
>>>> NeXus mailing list
>>>> NeXus at nexusformat.org
>>>> http://lists.nexusformat.org/mailman/listinfo/nexus
>>> 
>>> 
>>> _______________________________________________
>>> NeXus mailing list
>>> NeXus at nexusformat.org
>>> http://lists.nexusformat.org/mailman/listinfo/nexus
>>> 
>>
>>-- 
>>------------------------------------
>>DI. Dr. Eugen Wintersberger
>>
>>FS-EC
>>DESY
>>Notkestrasse 85
>>D-22607 Hamburg
>>Germany
>>
>>E-Mail: eugen.wintersberger at desy.de
>>Telefon: +49-40-8998-1917
>>-----------------------------------
>>
>
>
>_______________________________________________
>NeXus mailing list
>NeXus at nexusformat.org
>http://lists.nexusformat.org/mailman/listinfo/nexus
>



More information about the NeXus mailing list