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.
Pat On Sun, Mar 7, 2010 at 7:50 PM, burlen <[email protected]> wrote: > Hi Pat, > > 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. > > Burlen > > pat marion wrote: > >> That patch only works if you use a customized cmake platform file that >> contains the line- >> >> SET(CMAKE_SYSTEM_NAME CRAYXT_COMPUTE_LINUX) >> >> I've been discussing with Bill Hoffman a more general solution. It will >> probably involve new cmake variable that is configured into >> DynamicLoader.hxx.in <http://dynamicloader.hxx.in/>. The variable could >> be set by a platform file or a try-compile test. >> >> >> 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 < >> http://github.com/patmarion/crosscompiling-paraview> and that wiki page >> is no longer in sync with them. >> >> Pat >> >> >> On Sun, Mar 7, 2010 at 1:59 PM, Utkarsh Ayachit < >> [email protected] <mailto:[email protected]>> wrote: >> >> I don't see why not. Pat, any objections? >> >> Utkarsh >> >> On Sat, Mar 6, 2010 at 7:46 PM, burlen <[email protected] >> <mailto:[email protected]>> wrote: >> > When building PV on a Cray XT you have to patch the DynamicLoader. >> > >> > >> >> http://www.vtk.org/Wiki/Cross_compiling_ParaView3_and_VTK#XT4_ParaView_3.6.2 >> > >> > Is that something that should make it into 3.8? >> > >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com <http://www.kitware.com> >> >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://www.paraview.org/mailman/listinfo/paraview >> > >> > >> >> >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
