<div dir="ltr">I usually work on release+asserts build, which is much faster and doesn't require that much RAM as Debug/RelWithDebInfo build. I only build debug when I need it :)<div>Also lowering jobs for linking is very helpful when building with debug/LTO etc.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 3:37 PM, Alexandre Isoard via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">And again...<div>LLVM_BUILD_LLVM_DYLIB:BOOL=ON</div><div>LLVM_LINK_LLVM_DYLIB:BOOL=ON</div><div><br></div><div>This one is the good one... maybe.<br><div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 11:35 PM, Alexandre Isoard <span dir="ltr"><<a href="mailto:alexandre.isoard@gmail.com" target="_blank">alexandre.isoard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">That is because I mistyped it:<div>LLVM_ENABLE_LLVM_DYLIB:BOOL=ON</div><div>LLVM_LINK_LLVM_DYLIB:BOOL=ON</div></div><div class="gmail_extra"><div><div class="m_1856348415441088131gmail-h5"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 11:31 PM, Wink Saville <span dir="ltr"><<a href="mailto:wink@saville.com" target="_blank">wink@saville.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On Tue, Sep 6, 2016 at 3:05 PM, Alexandre Isoard<br>
<<a href="mailto:alexandre.isoard@gmail.com" target="_blank">alexandre.isoard@gmail.com</a>> wrote:<br>
</span>> LLVM_ENABLE_DYLIB<br>
<br>
Where/when/how do you specify LLVM_ENABLE_DYLIB and LLVM_LINK_DYLIB?<br>
<br>
I tried the following on the cmake command line:<br>
<br>
$ cmake -G Ninja .. -DCMAKE_INSTALL_PREFIX=/home/w<wbr>ink/opt/llvm<br>
-DLLVM_ENABLE_DYLIB=true -DLLVM_LINK_DYLIB=true<br>
<br>
<br>
And got:<br>
...<br>
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TY<wbr>PES_FLAG - Failed<br>
-- Configuring done<br>
-- Generating done<br>
CMake Warning:<br>
Manually-specified variables were not used by the project:<br>
<br>
LLVM_ENABLE_DYLIB<br>
LLVM_LINK_DYLIB<br>
<br>
<br>
-- Build files have been written to: /home/wink/foss/llvm.3.9.0/bui<wbr>ld<br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_1856348415441088131gmail-HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><b>Alexandre Isoard</b><br></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_1856348415441088131gmail_signature"><div dir="ltr"><b>Alexandre Isoard</b><br></div></div>
</font></span></div></div></div></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>