[CMake] Re: Patch to include Apple support in FindBLAS.cmake

Alan W. Irwin irwin at beluga.phys.uvic.ca
Sun Jan 28 15:08:24 EST 2007


On 2007-01-28 12:20-0700 Thompson, David C wrote:

> Alan,
>
>   I've attached a patch that will find and use
> the BLAS and LAPACK implementations in Apple's
> Accelerate or vecLib frameworks. Only FindBLAS.cmake
> needs to be modified since both BLAS and LAPACK
> are provided in the same framework. I've tested
> the macros on a simple project that calls a single
> LAPACK function (dgesv). The patch should be applied
> to FindBLAS.cmake revision 1.2.

Thanks, David, for your tested patch which I have applied.

Additional contributions from those here who use BLAS/LAPACK are most
welcome. To test what I have now, see the FindBLAS.cmake and FindBLAS.cmake
modules (and the CheckFortranFunctionExists.cmake module that defines a
macro used by both of them) which can be found at
http://freeeos.cvs.sourceforge.net/freeeos/freeeos/cmake/modules/.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list