Ok, I just added the patch to cvs.<br><br>Pat<br><br><div class="gmail_quote">On Mon, Mar 8, 2010 at 6:08 PM, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You're right. I still think it would be nicer to have a cmake variable than using the bluegene & cray defines, but I don't object to committing __CRAYXT_COMPUTE_LINUX_TARGET for now.<br>
<font color="#888888"><br>Pat</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Sun, Mar 7, 2010 at 7:50 PM, burlen <span dir="ltr"><<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Pat,<br>
<br>
Shouldn't it work without any changes to cmake because Cray compiler wrappers (CC and cc) define __CRAYXT_COMPUTE_LINUX_TARGET on the compile line? At least this is true on the XT5. eg CC -v to show what's there.<br>
<br>
Burlen<br>
<br>
pat marion wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
That patch only works if you use a customized cmake platform file that contains the line-<br>
<br>
SET(CMAKE_SYSTEM_NAME CRAYXT_COMPUTE_LINUX)<br>
<br></div>
I've been discussing with Bill Hoffman a more general solution. It will probably involve new cmake variable that is configured into <a href="http://DynamicLoader.hxx.in" target="_blank">DynamicLoader.hxx.in</a> <<a href="http://dynamicloader.hxx.in/" target="_blank">http://dynamicloader.hxx.in/</a>>. The variable could be set by a platform file or a try-compile test.<br>
<br>
<br>
A separate issue- we're running into fragmentation of the cross-compile instructions. There are now a few different wiki pages. The one Burlen linked to was written by John Patchet in January based on my build notes and his own experiences. My notes are in a github repository <<a href="http://github.com/patmarion/crosscompiling-paraview" target="_blank">http://github.com/patmarion/crosscompiling-paraview</a>> and that wiki page is no longer in sync with them.<br>
<br>
Pat<div><br>
<br>
On Sun, Mar 7, 2010 at 1:59 PM, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a> <mailto:<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>>> wrote:<br>
<br>
I don't see why not. Pat, any objections?<br>
<br>
Utkarsh<br>
<br>
On Sat, Mar 6, 2010 at 7:46 PM, burlen <<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br></div><div>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>> wrote:<br>
> When building PV on a Cray XT you have to patch the DynamicLoader.<br>
><br>
><br>
<a href="http://www.vtk.org/Wiki/Cross_compiling_ParaView3_and_VTK#XT4_ParaView_3.6.2" target="_blank">http://www.vtk.org/Wiki/Cross_compiling_ParaView3_and_VTK#XT4_ParaView_3.6.2</a><br>
><br>
> Is that something that should make it into 3.8?<br>
><br>
><br>
><br>
> _______________________________________________<br></div>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><div><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>