[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: detection and support of OpenMP
From: |
Noah Misch |
Subject: |
Re: detection and support of OpenMP |
Date: |
Sun, 3 Jun 2007 20:17:19 -0700 |
User-agent: |
Mutt/1.5.9i |
On Sun, May 27, 2007 at 10:53:06PM +0200, Bruno Haible wrote:
> Noah Misch wrote on Tuesday:
> > If we reach the stage of testing additional compiler options, the current
> > $CC
> > $CFLAGS failed to compile the test program. If that compiler treats
> > `-openmp'
> > like `-o penmp', it will still fail to compile the test program. Do we
> > really
> > need this special care?
> >
> > Possible simplifying patch:
...
> Well, your patch never got to trying the second, third, etc. possibility,
> due to the unconditional 'break'. I have tested the appended modified patch:
> it works with gcc (with result -fopenmp) and with Sun cc (with result
> -xopenmp),
> therefore I believe the other compilers will work as well. Also I added
> the necessary comments.
>
> The good thing about your patch is that it gets rid of the compiler brand
> tests, thus the Fortran support should work fine with this version (untested).
>
>
> 2007-05-27 Noah Misch <address@hidden>
> Bruno Haible <address@hidden>
>
> * lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
> brand tests.
Thanks for checking and revising the patch. I installed it.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: detection and support of OpenMP,
Noah Misch <=