autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detection and support of OpenMP


From: Steven G. Johnson
Subject: Re: detection and support of OpenMP
Date: Tue, 22 May 2007 12:35:39 -0400
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Sorry I came late to this discussion, but why not use something more like:

   http://autoconf-archive.cryp.to/ax_openmp.html

It's much shorter than the currently proposed macro, and doesn't have the hackery of testing for compiler "brand" in order to get the flag---it just tries all the known flags until it finds one that works. This is much more in the spirit of autoconf, and much more likely to work with new compilers that come along.

The autoconf-archive macro is also reasonably well tested, having been used successfully with FFTW for a number of years now. The only times people have reported failures was when it was missing flags for some compiler, but all of these cases I am aware of have been rectified in the current posted macro.

Regards,
Steven G. Johnson





reply via email to

[Prev in Thread] Current Thread [Next in Thread]