Problem using Vc with CMake 3.0 and kf5
Matthias Kretz
kretz at compeng.uni-frankfurt.de
Wed May 27 09:25:10 UTC 2015
On Wednesday 27 May 2015 11:19:08 Boudewijn Rempt wrote:
> On Wed, 27 May 2015, Matthias Kretz wrote:
> > I have to admit I didn't know about this change in cmake. I think it's the
> > right direction, though. I just started to read the relevant cmake
> > documentation and then I'll see whether I can figure something out to make
> > the macro work for target-based compiler flags.
>
> I tried to build our stuff with Vc 0.7 but the VcMacros.cmake from Vc
> master (which has b23418cd6494b90a20204b11f6cdb1f2bfd3877b, "change
> vc_compile_for_all_implementations macro to use normal cmake compilation",
> which makes the small example app build), but that didn't build with our
> code: https://paste.kde.org/pysb0rhgk
Ah good. That looks like we're almost there. All you're missing (according to
the error output) is the -fabi-version flag. I wonder why/how that got
dropped, though.
The -fabi-version flag is in ${Vc_DEFINITIONS} (which should rather be called
compile flags...).
Cheers,
Matthias
--
─────────────────────────────────────────────────────────────
Dipl.-Phys. Matthias Kretz
Web: http://compeng.uni-frankfurt.de/?mkretz
SIMD easy and portable: http://compeng.uni-frankfurt.de/?vc
─────────────────────────────────────────────────────────────
More information about the Kde-buildsystem
mailing list