[CMake] Better BlueGene/P and cross-compile support for CMake

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jun 24 16:25:08 EDT 2010


On Thursday 24 June 2010, James Amundson wrote:
> On 06/23/2010 04:10 PM, Alexander Neundorf wrote:
> > Hi,
> >
> > On Wednesday 23 June 2010, Todd Gamblin wrote:
> >> 2. The FindMPI module's library search breaks because the the
> >> cross-compiler
> >
> > name on BlueGene/P contains -l. Specifically, the GNU compute node
> > compilers
> >
> > on BlueGene/P are named like this:
> >>> 	powerpc-bgp-linux-g++
> >>
> >> And the FindMPI module claims that it can't find the '-inux-g++'
> >> library, or something similar.  I was able to fix this by modifying
> >> FindMPI's search to look for -l only when it's followed by a space. 
> >> This is a little worrisome because I think that is a standard gnu naming
> >> convention, so other platforms with compilers named blah-linux are going
> >> to have the same bug.
> >
> > Please add a bug report for this on http://public.kitware.com/Bug/
>
> This bug is a favorite of mine. It has been reported on the mailing list
> before. It is also in the bug tracker:
>
> http://public.kitware.com/Bug/view.php?id=10312&nbn=1#bugnotes
> <http://public.kitware.com/Bug/view.php?id=10312&nbn=1#bugnotes>
>
> In each case a patch has been given to solve the problem. Nothing has
> happened, however.

I'm still a bit slow with git...

Alex


More information about the CMake mailing list