Exporting the compiler version in FindKDE4Internal.cmake?
Raphael Kubo da Costa
kubito at gmail.com
Wed Nov 10 19:04:33 CET 2010
On Wednesday 03 November 2010 10:07:44 Raphael Kubo da Costa wrote:
> Hey all,
>
> So Alex from DragonFly BSD has been trying to contribute to the
> nightly builds, but kdelibs is failing to compile for him -- see
> https://bugs.kde.org/show_bug.cgi?id=255922
>
> Apparently, the proxymodeltestsuite only compiles on gcc 4.2+, but the
> default compiler on DragonFly is still gcc 4.1 (IIRC, Qt only supports
> gcc 4.2+ officially).
>
> I was wondering what approach should be taken here -- we can just
> ignore gcc 4.1, we can compile those tests only if gcc > 4.1 or we can
> hope those tests can be "fixed" to compile on a probably buggy gcc
> version.
>
> If we go with the second option, it is possible to add some check for
> gcc and its version in the CMakeLists.txt that compiles that test
> suite. OTOH, FindKDE4Internal.cmake already checks for the GCC
> version, so I was wondering if it makes sense to export the values it
> finds. What do you think?
>
> Cheers,
> rakuco
Bump?
More information about the Kde-buildsystem
mailing list