[Openmp-dev] [PATCH] [Revisedx2] Initial cmake support

"C. Bergström" cbergstrom at pathscale.com
Mon Jun 2 10:10:17 PDT 2014


On 06/ 2/14 11:59 PM, Peyton, Jonathan L wrote:
>
> Hello All,
>
> I have been here at Intel working on an ‘exact’ translation of the 
> build.pl build system to an identical CMake build system (without the 
> build.pl Perl wraparound of course). I’ve looked at the recently added 
> CMake build system and appreciate the work you all have done. The system
>
> I’ve created has Windows support, Fortran support, Mac Fat Library 
> support, Intel-specific header creation support, Intel MIC support as 
> well as mirroring the build.pl system for both Mac and Linux using 
> clang, gcc, or icc.
>
> All build types (release, debug) and library types (stubs, normal) are 
> supported as well. This build system is currently going through the 
> review process and should be done very soon.
>
> I’d be happy to answer any questions regarding the new CMake build system.
>
Sounds great - I think the goals here extend just slightly past what is 
needed for clang and I'm eager to review the work. When you say Fortran 
- do you mean building the Fortran .mod (modules). I assume that without 
a Fortran compiler this can be disabled.. (please do make sure it's 
optional component)

If you really want to get fancy - we should figure out a couple things

1) Is the library intended to be built with the system compiler or the 
"just built" clang - assuming this integrates into the higher level 
build system like compiler-rt

2) Will it support cross compiling. (x86 host and PPC64 target)
-------
Release and Debug build types are built-in to cmake and I'm not sure 
what specifically you'd change there..




More information about the Openmp-dev mailing list