<div dir="ltr"><div><div><div>Hi Frank,<br><br></div>The easiest way to build OpenSWR is probably to use the SCons build instead of autotools. Here's a docker file we use to generate re-distributable libGL and libOSMesa binaries: <a href="https://github.com/chuckatkins/mesa-builds/blob/master/Dockerfile">https://github.com/chuckatkins/mesa-builds/blob/master/Dockerfile</a> . In short though, you'll want to do the following:<br></div><span style="font-family:monospace,monospace"><br>git clone <a href="https://github.com/OpenSWR/openswr-mesa.git">https://github.com/OpenSWR/openswr-mesa.git</a> mesa-swr<br></span></div><span style="font-family:monospace,monospace">cd mesa-swr<br>scons build=release texture_float=yes swr_arch=core-avx2 libgl-xlib osmesa</span><br><div><br></div><div>The libgl-xlib target will create a build/linux-x86_64/gallium/targets/libgl-xlib/libGL.so.1.5 output and the osmesa target will create a build/linux-x86_64/gallium/targets/osmesa/libosmesa.so output. You can also change <span style="font-family:monospace,monospace">swr_arch=core-avx2</span><span style="font-family:arial,helvetica,sans-serif"> to </span><span style="font-family:monospace,monospace">swr_arch=avx<font face="arial,helvetica,sans-serif"> if you want to build for AVX instead of AVX2.</font><br></span></div><div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">- Chuck<br></div></div></div>
<br><div class="gmail_quote">On Tue, Dec 22, 2015 at 10:14 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Also, thank you for liaising with the OpenSWR team in order to check if they support or plan supporting OSMESA.<br>
<br>
</span>Frank, I am told that OpenSWR on Github should work with OSMesa. I<br>
haven't tried it out myself, will give it a go once I get the a few<br>
other issues ironed out. Just wanted to let you know if you wanted to<br>
give it another go.<br>
<div class="HOEnZb"><div class="h5"><br>
Utkarsh<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>