[vtkusers] Re: [CMake] Re: VTK /Cmake OSX universal binary quality dashboards
Glen Lehmann
glehmann at atamai.com
Wed Jun 7 14:41:50 EDT 2006
Hi All,
The dashboard stout.atamai that will start showing up tommorow is a
universal build that I've ctested on i386 and PowerPC, both running OS 10.4.
Mike's correct, this will not run on OS 10.3.9. I've found the easiset way
to create a universal binary for 10.3.9+ is:
- build VTK with gcc4.0 on an Intel box
- build VTK with gcc3.3 on a PowerPC
- use lipo to whack 'em together.
Glen
On 07/06/06, Dan White <dan at chalkie.org.uk> wrote:
>
> Hi Yves,
>
> Indeed it is funny because I get this!
>
> white:~/Desktop/VTKgcc/VTK/bin dan$ lipo -info
> libvtkFilteringPythonD.dylib
> Architectures in the fat file: libvtkFilteringPythonD.dylib are: ppc
> i386
> white:~/Desktop/VTKgcc/VTK/bin dan$
>
> So at least as far as my build got it was making universal .dylib
>
> Dan
>
>
>
>
> On 7 Jun 2006, at 20:29, Yves Starreveld wrote:
>
> > Funny, I just did a clean build with those settings, and lipo tells
> > me:
> >
> > ystarrev$ lipo -info libvtkCommon.dylib
> > Non-fat file: libvtkCommon.dylib is architecture: ppc
> >
> > Yves
> >
> > On 7-Jun-06, at 1:23 PM, Dan White wrote:
> >
> >> Hi Glen,
> >>
> >> maybe it would be best to have a universal build as the quality
> >> dashboard submission?
> >> if you have an intel mac to build it on, using
> >>
> >> CMAKE_OSX_ARCHITECTURES:STRING=ppc;i386
> >> CMAKE_OSX_SYSROOT:STRING=/Developer/SDKs/MacOSX10.4u.sdk/
> >>
> >> I just discovered that is is easy to build universal binaries...
> >>
> >> I guess unless someone needs to have an intel only binary for some
> >> specific purpose,
> >> then universal is better as you test building both ppc and i386
> >> architecures at the same time?
> >>
> >> but then again the tests would only be run on the intel parts of
> >> the binaries not on the ppc parts...
> >> on an intel machine that is.
> >>
> >> Maybe I/We/someone should also submit an OSX universal binary VTK
> >> quality dashboard built on a PPC.
> >> I have a G5 powermac that could be used for that,
> >> if someone shows me how to set up the nightly build and dashboard
> >> submission....
> >>
> >> cheers
> >>
> >> Dan
> >>
> >> On 7 Jun 2006, at 18:45, Glen Lehmann wrote:
> >>
> >>> Hi Dan,
> >>>
> >>> OK, I've just submitted a carbon dashboard built on an intel Mac. I
> >>> don't know how often Kitware's VTK dashboard rolls up and it won't
> >>> show up until then. Tomorrow's dashboard will also build the Tcl
> >>> libraries.
> >>>
> >>> There were 2 Tk-related build errors that I have just committed a
> >>> fix
> >>> for, the bug report is here:
> >>> http://www.vtk.org/Bug/bug.php?op=show&bugid=3233
> >>>
> >>> The only remaining difference between our builds now is
> >>> Python2.4. I
> >>> suggest turning on CMAKE_VERBOSE_MAKEFILE and post (or log a bug
> >>> with)
> >>> the compiler error.
> >>>
> >>> Cheers,
> >>>
> >>> Glen
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On 07/06/06, Sean McBride <sean at rogue-research.com> wrote:
> >>>> On 2006-06-07 15:13, Dan White said:
> >>>>
> >>>> >Anyone else managed a OSX x86 intel VTK build?
> >>>>
> >>>> I'm not sure if it will be useful, but you could look at my nightly
> >>>> cmake build. It is built on a PPC but is a Universal Binary:
> >>>>
> >>>> <http://www.cmake.org/Testing/Sites/RogueResearchPPC/Darwin8.6-G4-
> >>>> gcc4.0.1-univ/20060607-0100-Nightly/Notes.html>
> >>>>
> >>>> --
> >>>> ____________________________________________________________
> >>>> Sean McBride, B. Eng sean at rogue-research.com
> >>>> Rogue Research www.rogue-research.com
> >>>> Mac Software Developer Montréal, Québec, Canada
> >>>>
> >>>>
> >>>>
> >>
> >> Dr. Daniel James White BSc. (Hons.) PhD
> >> Bioimaging Coordinator
> >> Nanoscience Centre and Department of Biological and Environmental
> >> Sciences
> >> Division of Molecular Recognition
> >> Ambiotica C242
> >> PO Box 35
> >> University of Jyväskylä
> >> Jyväskylä
> >> FIN 40014
> >> Finland
> >>
> >> +358 14 260 4183 (work)
> >> +358 468102840 (mobile)
> >> http://www.bioimagexd.org
> >> http://www.chalkie.org.uk
> >> dan at chalkie.org.uk
> >> white at cc.jyu.fi
> >>
> >>
> >> _______________________________________________
> >> CMake mailing list
> >> CMake at cmake.org
> >> http://www.cmake.org/mailman/listinfo/cmake
> >
>
> Dr. Daniel James White BSc. (Hons.) PhD
> Bioimaging Coordinator
> Nanoscience Centre and Department of Biological and Environmental
> Sciences
> Division of Molecular Recognition
> Ambiotica C242
> PO Box 35
> University of Jyväskylä
> Jyväskylä
> FIN 40014
> Finland
>
> +358 14 260 4183 (work)
> +358 468102840 (mobile)
> http://www.bioimagexd.org
> http://www.chalkie.org.uk
> dan at chalkie.org.uk
> white at cc.jyu.fi
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060607/88b63fb7/attachment.htm>
More information about the vtkusers
mailing list