mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-19 02:17:27 +08:00
Find{BLAS,LAPACK}: Move implementation note from docs to comments
This commit is contained in:
@@ -10,10 +10,6 @@ Find Basic Linear Algebra Subprograms (BLAS) library
|
|||||||
This module finds an installed Fortran library that implements the
|
This module finds an installed Fortran library that implements the
|
||||||
BLAS linear-algebra interface (see http://www.netlib.org/blas/).
|
BLAS linear-algebra interface (see http://www.netlib.org/blas/).
|
||||||
|
|
||||||
The approach follows that taken for the ``autoconf`` macro file,
|
|
||||||
``acx_blas.m4`` (distributed at
|
|
||||||
http://ac-archive.sourceforge.net/ac-archive/acx_blas.html).
|
|
||||||
|
|
||||||
Input Variables
|
Input Variables
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -184,6 +180,9 @@ Hints
|
|||||||
|
|
||||||
#]=======================================================================]
|
#]=======================================================================]
|
||||||
|
|
||||||
|
# The approach follows that of the ``autoconf`` macro file, ``acx_blas.m4``
|
||||||
|
# (distributed at http://ac-archive.sourceforge.net/ac-archive/acx_blas.html).
|
||||||
|
|
||||||
# Check the language being used
|
# Check the language being used
|
||||||
if(NOT (CMAKE_C_COMPILER_LOADED OR CMAKE_CXX_COMPILER_LOADED OR CMAKE_Fortran_COMPILER_LOADED))
|
if(NOT (CMAKE_C_COMPILER_LOADED OR CMAKE_CXX_COMPILER_LOADED OR CMAKE_Fortran_COMPILER_LOADED))
|
||||||
if(BLAS_FIND_REQUIRED)
|
if(BLAS_FIND_REQUIRED)
|
||||||
|
@@ -10,10 +10,6 @@ Find Linear Algebra PACKage (LAPACK) library
|
|||||||
This module finds an installed Fortran library that implements the
|
This module finds an installed Fortran library that implements the
|
||||||
LAPACK linear-algebra interface (see http://www.netlib.org/lapack/).
|
LAPACK linear-algebra interface (see http://www.netlib.org/lapack/).
|
||||||
|
|
||||||
The approach follows that taken for the ``autoconf`` macro file,
|
|
||||||
``acx_lapack.m4`` (distributed at
|
|
||||||
http://ac-archive.sourceforge.net/ac-archive/acx_lapack.html).
|
|
||||||
|
|
||||||
Input Variables
|
Input Variables
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -76,6 +72,9 @@ This module defines the following variables:
|
|||||||
find_package(LAPACK)
|
find_package(LAPACK)
|
||||||
#]=======================================================================]
|
#]=======================================================================]
|
||||||
|
|
||||||
|
# The approach follows that of the ``autoconf`` macro file, ``acx_lapack.m4``
|
||||||
|
# (distributed at http://ac-archive.sourceforge.net/ac-archive/acx_lapack.html).
|
||||||
|
|
||||||
if(CMAKE_Fortran_COMPILER_LOADED)
|
if(CMAKE_Fortran_COMPILER_LOADED)
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake)
|
include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake)
|
||||||
else()
|
else()
|
||||||
|
Reference in New Issue
Block a user