[Insight-developers] tests are running for ever in release mode with icc 9.1.044 on linux

Karthik Krishnan karthik.krishnan at kitware.com
Mon Nov 27 08:48:17 EST 2006


On 11/25/06, Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>
> Le Wed, 08 Nov 2006 22:23:16 +0100, Brad King <brad.king at kitware.com> a
> écrit:
>
> > Gaetan Lehmann wrote:
>
> > The -ffloat-store option is added for building these files on GCC to
> > avoid some problems with not rounding to the expected precision.  The
> > equivalent flag on Intel appears to be:
> >
> > icc-8.x: -fp_port
> > icc-9.0: -fp-port
> > icc-9.1: -fp-port
>
> but how to test for the icc compiler with cmake ?



   IF(CMAKE_C_COMPILER MATCHES "icc")
     # c compiler is icc
     ...

   IF(CMAKE_CXX_COMPILER MATCHES "icpc")
     # c++ compiler is icc
     ...

  -karthik

Gaetan
>
>
> --
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20061127/849e473a/attachment.html


More information about the Insight-developers mailing list