Browse Source

Find{BLAS,LAPACK}: Move implementation note from docs to comments

Brad King 4 years ago
parent
commit
43b581367d
2 changed files with 6 additions and 8 deletions
  1. 3 4
      Modules/FindBLAS.cmake
  2. 3 4
      Modules/FindLAPACK.cmake

+ 3 - 4
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)

+ 3 - 4
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()