[CMake] CMake on Linux + Playstation 3 (IBM Cell BE processor)

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jan 2 09:15:44 EST 2008


On Monday 31 December 2007, Brandon Van Every wrote:
> On Dec 30, 2007 3:19 PM, Christian Convey <christian.convey at gmail.com> 
wrote:
> > A Cell processor has one PowerPC core, plus 8 "SPE" cores (only 6 are
> > available on a Playstation 3).  You need a different compiler for each
> > core type.
> >
> > Also, there are several different ways that all of that can be linked
> > together into a single program.
> >
> > I probably can coax Cmake into handling this, so I may have misspoken
> > when I asked about making CMake *capable* of building these programs.
> > I probably should have asked about making it support, out of the box,
> > the building of such programs using trivially simple CMakeLists.txt
> > files.
>
> I would assume that Linux tool ports just use the PowerPC core.
> Getting the 8 SPE cores to be utilized is quite an extension of scope
> and rather application specific.  I would say you should handle those
> with ADD_CUSTOM_COMMAND, 

Yes.
The SPE cores are also programmed in C, aren't they ?
Do you have an example (simple) Makefile which demonstrates how to build 
software for these cores ?

Alex


More information about the CMake mailing list