build error in kdegraphics

Alexander Neundorf neundorf at kde.org
Sun May 30 14:23:27 CEST 2010


On Wednesday 26 May 2010, Pavel Heimlich, a.k.a. hajma wrote:
> Hi Alex,
>
> 2010/5/26 Alexander Neundorf <neundorf at kde.org>:
> > On Wednesday 26 May 2010, Pavel Heimlich, a.k.a. hajma wrote:
> >> Hi Alex,
> >>
> >> 2010/5/5 Alexander Neundorf <neundorf at kde.org>:
> >> > I never used OpenMP, so I don't know.
> >> > For the time being I wouldn't oppose a patch to get kdegraphics
> >> > compiling.
> >>
> >> Attached is the patch that makes kdegraphics compile here.
> >> The part for libs/libkdcraw/test/CMakeLists.txt would need some
> >> IF-ing, I am not sure how to best handle it.
> >
> > Attached is an updated version of the patch.
> > Can you please verify that it works for you ?
>
> works fine
> http://my.cdash.org/buildSummary.php?buildid=69868
>
> > The -xopenmp flag depends on the compiler, not on the operating system,
> > right ?
>
> correct
>
> > One thing I noticed when looking at the cmake output on my.cdash.org is
> > that it says
> > -- The C compiler identification is SunPro
> > -- The CXX compiler identification is Unknown
> >
> > The problem here is the "Unknown" for the CXX compiler.
> > If you look in share/cmake-2.6/Modules/CMakeCXXCompilerId.cpp.in, you
> > will see:
> >
> > #elif defined(__SUNPRO_CC)
> > # define COMPILER_ID "SunPro"
> >
> > This should be defined for the SunStudio compiler (also according to
> > http://docs.sun.com/app/docs/doc/820-7599/6nirkt75m?l=en&a=view#bkaoe ).
>
> it is defined.
> However I think in this case the
> share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake
> comes into play, which does not know anything about Sun Studio (at
> least in 2.6.4)


Sure ?
Attached is the file from the clean cmake 2.6.4 binary package for Linux, 
which contains the code for SunPro.
Does it look different on your installation ?

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeCXXCompilerId.cpp.in
Type: text/x-objcsrc
Size: 2088 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20100530/8b5411fc/attachment.m 


More information about the Kde-buildsystem mailing list