[Openmp-dev] Initial Intel Cmake Build System Patch

Peyton, Jonathan L jonathan.l.peyton at intel.com
Fri Jun 6 16:02:04 PDT 2014


Hello All,

Since everyone wants to see it, this patch is the initial cmake build system we have been developing.  Some quick notes:
1) The top-level CMakeLists.txt you all have been working on is moved to CMakeLists.txt.old (the src/CMakeLists.txt file is untouched)
2) There is a Build_With_CMake.txt tutorial that shows the most important features and how to build libiomp5
3) As a special note, the current build.pl system does five "micro-tests" which test certain features of the newly built libiomp5.so library (basic linking/compilation, library dependencies, etc.)  If you want these to be off in the new CMake system just specify it when calling cmake with the flag -Dtests=off

Please keep in mind this is the initial system and that it can be trimmed back incrementally to what you need.  Right now, it builds nearly identical libraries as build.pl.  On a related note, I attempted ( as suggested by David ) to port libiomp5 to NetBSD to see what walls I would hit.  I hit some :) , but eventually got it working (not included in this initial patch).  So I am going to follow up this initial patch with further improvements (to the build system) to make re-targeting in general even easier.  Some of these improvements will also help the build.pl system as well.

Just try it.  See what you hate and what you like.  Leave feedback.  I am here on weekdays.

Thanks,
Johnny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20140606/c6bc4c1b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: initial_intel_cmake.patch
Type: application/octet-stream
Size: 113505 bytes
Desc: initial_intel_cmake.patch
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20140606/c6bc4c1b/attachment.obj>


More information about the Openmp-dev mailing list