[CMake] Please support FindLAPACK/FindBLAS for C/C++-only projects
Mark Moll
mmoll at cs.rice.edu
Thu Jan 21 10:17:22 EST 2010
On Jan 20, 2010, at 10:53 PM, Alan W. Irwin wrote:
> On 2010-01-21 11:03+0900 Ryo IGARASHI wrote:
>
>> Dear developers,
>>
>> Currently, FindLAPACK.cmake and FindBLAS.cmake *requires* Fortran compiler.
>> However, I can easily think of a situation when no Fortran compiler
>> but LAPACK/BLAS
>> available. Let's say:
>> * Use ATLAS on VC9 (Windows)
>> * Buy Intel C++ compiler but not Fortran compiler (each of them have
>> MKL) (Windows/Linux)
>>
>> Is there any way to properly detect BLAS/LAPACK with C/C++ only project?
>
> Those with knowledge of the Fortran versions of lapack/blas libraries may
> not have similar good knowledge of the C/C++ versions of those libraries and
> vice versa. Also, the fortran version find needs may interfere with the C/C++
> version find needs and vice versa.
You *can* use the Fortran BLAS/LAPACK libraries with C/C++ code. Like Ryo IGARASHI, I don’t understand why a Fortran compiler is *required* by this module.
--
Mark
More information about the CMake
mailing list