From 43b581367d71ce45bb36ef0fc3bf77bfbea98af2 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 11 Jun 2021 08:00:22 -0400 Subject: Find{BLAS,LAPACK}: Move implementation note from docs to comments --- Modules/FindBLAS.cmake | 7 +++---- Modules/FindLAPACK.cmake | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index f077814..ae4f779 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -10,10 +10,6 @@ Find Basic Linear Algebra Subprograms (BLAS) library This module finds an installed Fortran library that implements the 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 ^^^^^^^^^^^^^^^ @@ -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 if(NOT (CMAKE_C_COMPILER_LOADED OR CMAKE_CXX_COMPILER_LOADED OR CMAKE_Fortran_COMPILER_LOADED)) if(BLAS_FIND_REQUIRED) diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index 3eeb4b2..7026f11 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -10,10 +10,6 @@ Find Linear Algebra PACKage (LAPACK) library This module finds an installed Fortran library that implements the 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 ^^^^^^^^^^^^^^^ @@ -76,6 +72,9 @@ This module defines the following variables: 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) include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake) else() -- cgit v0.12