<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">To date, libomp has only been dynamic. I wanted static libraries for some platforms, so I generalized the cmake handling to support either static or dynamic. If you want to generalize it to support both, that would be great.<br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-size: 12px;" class=""><font face="Courier" class="">--<br class="">John Mellor-Crummey         Professor<br class="">Dept of Computer Science    Rice University<br class="">email: <a href="mailto:johnmc@rice.edu" class="">johnmc@rice.edu</a>      phone: 713-348-5179</font><br class=""></div></div></span></div></span>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Feb 5, 2016, at 2:04 AM, Ismail Donmez via Openmp-commits <<a href="mailto:openmp-commits@lists.llvm.org" class="">openmp-commits@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi,<br class=""><br class="">On Thu, Feb 4, 2016 at 9:29 PM, Jonathan Peyton via Openmp-commits<br class=""><<a href="mailto:openmp-commits@lists.llvm.org" class="">openmp-commits@lists.llvm.org</a>> wrote:<br class=""><blockquote type="cite" class="">Author: jlpeyton<br class="">Date: Thu Feb  4 13:29:35 2016<br class="">New Revision: 259817<br class=""><br class="">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=259817&view=rev" class="">http://llvm.org/viewvc/llvm-project?rev=259817&view=rev</a><br class="">Log:<br class="">Add LIBOMP_ENABLE_SHARED option for CMake<br class=""><br class="">When building executables for Cray supercomputers, statically-linked executables<br class="">are preferred. This patch makes it possible to build the OpenMP runtime as an<br class="">archive for building statically-linked executables.  The patch adds the flag<br class="">LIBOMP_ENABLE_SHARED, which defaults to true. When true, a build of the OpenMP<br class="">runtime yields dynamic libraries. When false, a build of the OpenMP runtime<br class="">yields static libraries. There is no setting that allows both kinds of libraries<br class="">to be built.<br class=""></blockquote><br class="">Just a feature request not a complaint but gcc ships both static and<br class="">dynamic gomp libraries which are useful when you use -static and other<br class="">times you want shared linking. It would be really nice if there was an<br class="">option for both kind of libraries to be built.<br class=""><br class="">Thanks,<br class="">ismail<br class="">_______________________________________________<br class="">Openmp-commits mailing list<br class=""><a href="mailto:Openmp-commits@lists.llvm.org" class="">Openmp-commits@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-commits<br class=""><br class="">!DSPAM:8504,56b457b9285061725532280!<br class=""><br class=""><br class=""></div></blockquote></div><br class=""></body></html>