build error in kdegraphics

Pavel Heimlich, a.k.a. hajma tropikhajma at gmail.com
Wed May 26 23:31:34 CEST 2010


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)

>
> Could you please try to find out whether this #elif matches in your case ?
>
> Alex
>


More information about the Kde-buildsystem mailing list