[CMake] Please support FindLAPACK/FindBLAS for C/C++-only projects

Bill Hoffman bill.hoffman at kitware.com
Fri Jan 22 15:43:42 EST 2010


Alan W. Irwin wrote:

> The subject of a C version of FindLAPACK.cmake and FindBLAS.cmake has been
> brought up a number of times by disgruntled CMake users who need C 
> access to
> the (often Fortran) lapack and blas libraries that are available on their
> systems. Thus, there is strong motivation for _one of those users_ to
> implement a lapack and blas CMake finding and testing module for C as I
> noted in my first post for this thread.  However, they probably need some
> help and guidance with this effort.  To my mind, (3) is a good way to do
> this without them having to "re-invent the wheel" for the fortran find
> effort and without adding or changing features for the fortran version.
> 

FYI, CLAPACK is fully CMake now, and even has a dashboard:

http://my.cdash.org/index.php?project=CLAPACK

You can do this:

find_package(clapack)

It should just work as the clapack has the correct package export stuff 
in its cmake files.

It can be downloaded here:
http://www.netlib.org/clapack/

-Bill

-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list