Re: [hwloc-devel] Using Hwloc in LLVM OpenMP
On May 18, 2015, at 3:03 PM, Brice Goglinwrote: > > (3) it won't replace autotools since we have autotools-projects embedding > hwloc. if we can have both autotools and cmake without too much trouble, I > guess it's ok Since cmake likely won't be the main configure/build system for the core developers, it is going to be a challenge to keep the cmake build system up-to-date as changes are made in the autotools-based build system. (I speak from experience: we had a cmake build system in Open MPI for a while for Windows support that was constructed / maintained along side the autotools configure/build system, and it was continually out of date :-( ) -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [hwloc-devel] Using Hwloc in LLVM OpenMP
Le 18/05/2015 20:49, Peyton, Jonathan L a écrit : > > Hello Everyone, > > > > We have been developing The LLVM OpenMP runtime library project and > were hoping to incorporate the hwloc library as the primary affinity > mechanism. In order for this to happen though, > > a CMake build system would have to be created as it is now the primary > build system of both LLVM and the LLVM OpenMP runtime library. It > offers better native Windows support (no config/compile cl hackery), > just as much > > configuration capability as the autotools at a fraction of the > effort. It is also easier to maintain by more developers because the > CMake language is easier to learn and has superior documentation. > > > So a couple of questions: > > 1) Is anyone currently working on a CMake build system for hwloc? > > 2) Would someone inside hwloc development be interested in building a > CMake build system? > > 3) If we were to implement a quality CMake build system, would it be > accepted? > > > > Plus, any other comments or questions are absolutely welcome. > > > > -- Johnny > > > Hello I have spent a bit of time on CMakifing hwloc in the past, mostly for windows support, but I didn't have much knowledge about CMake, so it didn't go far. Somebody offered Windows vcxproj files later, so we integrated those and I forgot about CMake. The main issue is about periodic testing. I basically can't do it manually often enough (nightly testing is done using Mingw only). Our vcxproj are already outdated for this reason. So (1) not currently as far I as know (2) yes (3) it won't replace autotools since we have autotools-projects embedding hwloc. if we can have both autotools and cmake without too much trouble, I guess it's ok Brice
[hwloc-devel] Using Hwloc in LLVM OpenMP
Hello Everyone, We have been developing The LLVM OpenMP runtime library project and were hoping to incorporate the hwloc library as the primary affinity mechanism. In order for this to happen though, a CMake build system would have to be created as it is now the primary build system of both LLVM and the LLVM OpenMP runtime library. It offers better native Windows support (no config/compile cl hackery), just as much configuration capability as the autotools at a fraction of the effort. It is also easier to maintain by more developers because the CMake language is easier to learn and has superior documentation. So a couple of questions: 1) Is anyone currently working on a CMake build system for hwloc? 2) Would someone inside hwloc development be interested in building a CMake build system? 3) If we were to implement a quality CMake build system, would it be accepted? Plus, any other comments or questions are absolutely welcome. -- Johnny