Brad King pushed this fix to cmake 'next' earlier today:<br><br><a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=68c7d3e2ce2fb98980887357dd6308246ea3d64e">http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=68c7d3e2ce2fb98980887357dd6308246ea3d64e</a><br>
<br>That, at least, addresses the "-l" issue in FindMPI...<br><br><br>HTH,<br>David<br><br><br><div class="gmail_quote">On Thu, Jun 24, 2010 at 4:52 PM, Alexander Neundorf <span dir="ltr"><<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On Thursday 24 June 2010, Marcel Loose wrote:<br>
> Oops! Forgot to CC to the list.<br>
><br>
><br>
> Hi Tod,<br>
><br>
> I'll try to answer some of your questions below inline (I've snipped off<br>
> parts of your mail). We're also using a BlueGeneP, but not for so many<br>
> packages/executables as you probably do.<br>
><br>
> On Wed, 2010-06-23 at 01:02 -0700, Todd Gamblin wrote:<br>
> > Hi,<br>
><br>
> -- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< --<br>
><br>
> > I was able to build with either if I just manually specified the<br>
> ><br>
> > compilers and linker like this:<br>
> > > env CC=gcc C++=g++ LD=ld ./bootstrap --prefix=${CMAKE_HOME}<br>
> > ><br>
> > ><br>
> > > env CC=xlc C++=xlC LD=xlC ./bootstrap --prefix=${CMAKE_HOME}<br>
><br>
> That is probably the safest way to do it, anyways. You then have full<br>
> control over which compiler is used to build your stuff.<br>
><br>
> > But It would've been nice if I didn't have to do all that. Is PPC<br>
> > Linux not used many other places anymore? I guess this is a<br>
> > sles10/ppc64 environment, so maybe that is throwing the script off.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > 2. The FindMPI module's library search breaks because the the<br>
> > cross-compiler name on BlueGene/P contains -l. Specifically, the GNU<br>
> ><br>
> > compute node compilers on BlueGene/P are named like this:<br>
> > > powerpc-bgp-linux-g++<br>
> ><br>
> > And the FindMPI module claims that it can't find the '-inux-g++'<br>
> > library, or something similar. I was able to fix this by modifying<br>
> > FindMPI's search to look for -l only when it's followed by a space.<br>
> > This is a little worrisome because I think that is a standard gnu<br>
> > naming convention, so other platforms with compilers named blah-linux<br>
> > are going to have the same bug.<br>
><br>
> That is a known bug. I've filed it in the bug tracker<br>
> <a href="http://www.vtk.org/Bug/view.php?id=9093" target="_blank">http://www.vtk.org/Bug/view.php?id=9093</a>. I've also uploaded a patch<br>
> (take the second one), that fixes that problem.<br>
<br>
</div></div>In the bug report you say "This patch is NOT heavily tested!"<br>
<br>
Is this still true ?<br>
<br>
Alex<br>
<div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <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 CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>