<div dir="ltr">Jonathon,<div>     Thanks. Confirmed to work properly on x86_64-apple-darwin12 with…</div><div><br></div><div>% cd runtime</div><div>% mkdir build</div><div>% cd build</div><div>% cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -Dos=mac -Darch=32 ..</div>
<div>% make all common</div><div>% file libiomp5.dylib</div><div>libiomp5.dylib: Mach-O dynamically linked shared library i386</div><div><br></div><div>and</div><div><br></div><div><div>% cd runtime</div><div>% mkdir build</div>
<div>% cd build</div><div>% cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -Dos=mac -Darch=32e ..</div><div>% make all common</div><div>% file libiomp5.dylib</div></div><div>libiomp5.dylib: Mach-O 64-bit dynamically linked shared library x86_64<br>
</div><div><br></div><div>Are there any plans to tweak this to automate the build of a fat libiomp5.dylib on darwin?</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 7:02 PM, Peyton, Jonathan L <span dir="ltr"><<a href="mailto:jonathan.l.peyton@intel.com" target="_blank">jonathan.l.peyton@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Since everyone wants to see it, this patch is the initial cmake build system we have been developing.  Some quick notes:<u></u><u></u></p>
<p class="MsoNormal">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)<u></u><u></u></p>
<p class="MsoNormal">2) There is a Build_With_CMake.txt tutorial that shows the most important features and how to build libiomp5<u></u><u></u></p>
<p class="MsoNormal">3) As a special note, the current <a href="http://build.pl" target="_blank">build.pl</a> 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<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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 <a href="http://build.pl" target="_blank">build.pl</a>.  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 <span style="font-family:Wingdings">
J</span> , 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 <a href="http://build.pl" target="_blank">build.pl</a> system as well.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Just try it.  See what you hate and what you like.  Leave feedback.  I am here on weekdays.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Johnny<u></u><u></u></p>
</div>
</div>

<br>_______________________________________________<br>
Openmp-dev mailing list<br>
<a href="mailto:Openmp-dev@dcs-maillist2.engr.illinois.edu">Openmp-dev@dcs-maillist2.engr.illinois.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/openmp-dev</a><br>
<br></blockquote></div><br></div>