<div dir="ltr"><div>cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/x86_64-linux-gnu -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=ON \<br> -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON \<br> -DLLVM_APPEND_VC_REV=OFF -DCMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO="-fuse-ld=gold" \<br> -DCMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -g -fno-omit-frame-pointer" \<br> -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -fno-omit-frame-pointer" <br><br></div>Marek<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 10, 2018 at 3:11 PM, Dylan Baker <span dir="ltr"><<a href="mailto:dylan@pnwbakers.com" target="_blank">dylan@pnwbakers.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Quoting Marek Olšák (2018-04-10 11:03:59)<br>
<span class="gmail-">> On Mon, Apr 9, 2018 at 5:37 PM, Dylan Baker <<a href="mailto:dylan@pnwbakers.com">dylan@pnwbakers.com</a>> wrote:<br>
><br>
> Are you building LLVM yourself, or is that a build that comes with your<br>
> distro?<br>
> Also, what is your distro?<br>
><br>
><br>
> Ubuntu 16.04. LLVM is in /usr/llvm/.... bin is not in PATH by default, include<br>
> is not in the include path by default, but lib is in the ld path.<br>
><br>
> I build LLVM with shared libs myself.<br>
<br>
</span>with -DBUILD_SHARED_LIBS=1?<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Dylan<br>
</font></span></blockquote></div><br></div></div></div>