1
- cmake_minimum_required (VERSION 3.2 )
1
+ cmake_minimum_required (VERSION 3.6 )
2
2
3
- project (LAPACK Fortran C )
3
+ project (LAPACK )
4
4
5
5
set (LAPACK_MAJOR_VERSION 3 )
6
- set (LAPACK_MINOR_VERSION 11 )
6
+ set (LAPACK_MINOR_VERSION 12 )
7
7
set (LAPACK_PATCH_VERSION 0 )
8
8
set (
9
9
LAPACK_VERSION
@@ -45,6 +45,14 @@ if(_is_coverage_build)
45
45
find_package (codecov )
46
46
endif ()
47
47
48
+ # Use valgrind if it is found
49
+ option ( LAPACK_TESTING_USE_PYTHON "Use Python for testing. Disable it on memory checks." ON )
50
+ find_program ( MEMORYCHECK_COMMAND valgrind )
51
+ if ( MEMORYCHECK_COMMAND )
52
+ message ( STATUS "Found valgrind: ${MEMORYCHECK_COMMAND} " )
53
+ set ( MEMORYCHECK_COMMAND_OPTIONS "--leak-check=full --show-leak-kinds=all --track-origins=yes" )
54
+ endif ()
55
+
48
56
# By default test Fortran compiler complex abs and complex division
49
57
option (TEST_FORTRAN_COMPILER "Test Fortran compiler complex abs and complex division" OFF )
50
58
if ( TEST_FORTRAN_COMPILER )
@@ -76,7 +84,7 @@ if( TEST_FORTRAN_COMPILER )
76
84
WORKING_DIRECTORY ${LAPACK_BINARY_DIR} /INSTALL
77
85
COMMENT "Running test_zminMax in ${LAPACK_BINARY_DIR} /INSTALL with stderr: test_zminMax.err"
78
86
SOURCES ${LAPACK_SOURCE_DIR} /INSTALL/test_zminMax.f )
79
-
87
+
80
88
endif ()
81
89
82
90
# By default static library
@@ -99,6 +107,8 @@ else()
99
107
set (LAPACKELIB "lapacke" )
100
108
set (TMGLIB "tmglib" )
101
109
endif ()
110
+ # By default build standard API and extended _64 API
111
+ option (BUILD_INDEX64_EXT_API "Build Index-64 API as extended API with _64 suffix" ON )
102
112
103
113
include (GNUInstallDirs )
104
114
@@ -127,90 +137,6 @@ configure_file(
127
137
include (PreventInSourceBuilds )
128
138
include (PreventInBuildInstalls )
129
139
130
- # Check if recursive flag exists
131
- include (CheckFortranCompilerFlag )
132
- if (CMAKE_Fortran_COMPILER_ID STREQUAL Flang )
133
- check_fortran_compiler_flag ("-Mrecursive" _MrecursiveFlag )
134
- elseif (CMAKE_Fortran_COMPILER_ID STREQUAL GNU )
135
- check_fortran_compiler_flag ("-frecursive" _frecursiveFlag )
136
- elseif (CMAKE_Fortran_COMPILER_ID STREQUAL Intel )
137
- check_fortran_compiler_flag ("-recursive" _recursiveFlag )
138
- elseif (CMAKE_Fortran_COMPILER_ID STREQUAL XL )
139
- check_fortran_compiler_flag ("-qrecur" _qrecurFlag )
140
- elseif (CMAKE_Fortran_COMPILER_ID STREQUAL NAG )
141
- check_fortran_compiler_flag ("-recursive" _recursiveFlag )
142
- else ()
143
- message (WARNING "Fortran local arrays should be allocated on the stack."
144
- " Please use a compiler which guarantees that feature."
145
- " See https://github.com/Reference-LAPACK/lapack/pull/188 and references therein." )
146
- endif ()
147
-
148
- # Add recursive flag
149
- if (_MrecursiveFlag )
150
- string (REGEX MATCH "-Mrecursive" output_test <string> "${CMAKE_Fortran_FLAGS} " )
151
- if (NOT output_test )
152
- set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Mrecursive"
153
- CACHE STRING "Recursive flag must be set" FORCE )
154
- endif ()
155
- elseif (_frecursiveFlag )
156
- string (REGEX MATCH "-frecursive" output_test <string> "${CMAKE_Fortran_FLAGS} " )
157
- if (NOT output_test )
158
- set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -frecursive"
159
- CACHE STRING "Recursive flag must be set" FORCE )
160
- endif ()
161
- elseif (_recursiveFlag )
162
- string (REGEX MATCH "-recursive" output_test <string> "${CMAKE_Fortran_FLAGS} " )
163
- if (NOT output_test )
164
- set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -recursive"
165
- CACHE STRING "Recursive flag must be set" FORCE )
166
- endif ()
167
- elseif (_qrecurFlag )
168
- string (REGEX MATCH "-qrecur" output_test <string> "${CMAKE_Fortran_FLAGS} " )
169
- if (NOT output_test )
170
- set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qrecur"
171
- CACHE STRING "Recursive flag must be set" FORCE )
172
- endif ()
173
- endif ()
174
-
175
- if (UNIX )
176
- if (CMAKE_Fortran_COMPILER_ID STREQUAL Intel )
177
- set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fp-model strict" )
178
- endif ()
179
- if (CMAKE_Fortran_COMPILER_ID STREQUAL XL )
180
- set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qnosave -qstrict" )
181
- endif ()
182
- # Delete libmtsk in linking sequence for Sun/Oracle Fortran Compiler.
183
- # This library is not present in the Sun package SolarisStudio12.3-linux-x86-bin
184
- string (REPLACE \;mtsk\; \; CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES "${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES} " )
185
- endif ()
186
-
187
- if (CMAKE_Fortran_COMPILER_ID STREQUAL Compaq )
188
- if (WIN32 )
189
- if (CMAKE_GENERATOR STREQUAL "NMake Makefiles" )
190
- get_filename_component (CMAKE_Fortran_COMPILER_CMDNAM ${CMAKE_Fortran_COMPILER} NAME_WE )
191
- message (STATUS "Using Compaq Fortran compiler with command name ${CMAKE_Fortran_COMPILER_CMDNAM} " )
192
- set (cmd ${CMAKE_Fortran_COMPILER_CMDNAM} )
193
- string (TOLOWER "${cmd} " cmdlc )
194
- if (cmdlc STREQUAL "df" )
195
- message (STATUS "Assume the Compaq Visual Fortran Compiler is being used" )
196
- set (CMAKE_Fortran_USE_RESPONSE_FILE_FOR_OBJECTS 1 )
197
- set (CMAKE_Fortran_USE_RESPONSE_FILE_FOR_INCLUDES 1 )
198
- #This is a workaround that is needed to avoid forward-slashes in the
199
- #filenames listed in response files from incorrectly being interpreted as
200
- #introducing compiler command options
201
- if (${BUILD_SHARED_LIBS} )
202
- message (FATAL_ERROR "Making of shared libraries with CVF has not been tested." )
203
- endif ()
204
- set (str "NMake version 9 or later should be used. NMake version 6.0 which is\n " )
205
- set (str "${str} included with the CVF distribution fails to build Lapack because\n " )
206
- set (str "${str} the number of source files exceeds the limit for NMake v6.0\n " )
207
- message (STATUS ${str} )
208
- set (CMAKE_Fortran_LINK_EXECUTABLE "LINK /out:<TARGET> <LINK_FLAGS> <LINK_LIBRARIES> <OBJECTS>" )
209
- endif ()
210
- endif ()
211
- endif ()
212
- endif ()
213
-
214
140
# Add option to enable flat namespace for symbol resolution on macOS
215
141
if (APPLE )
216
142
option (USE_FLAT_NAMESPACE "Use flat namespaces for symbol resolution during build and runtime." OFF )
@@ -268,26 +194,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LAPACK_BINARY_DIR}/bin)
268
194
set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LAPACK_BINARY_DIR} /lib )
269
195
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LAPACK_BINARY_DIR} /lib )
270
196
271
- # --------------------------------------------------
272
- # Check for any necessary platform specific compiler flags
273
- include (CheckLAPACKCompilerFlags )
274
- CheckLAPACKCompilerFlags ()
275
-
276
- # --------------------------------------------------
277
- # Check second function
278
-
279
- include (CheckTimeFunction )
280
- set (TIME_FUNC NONE )
281
- CHECK_TIME_FUNCTION (NONE TIME_FUNC )
282
- CHECK_TIME_FUNCTION (INT_CPU_TIME TIME_FUNC )
283
- CHECK_TIME_FUNCTION (EXT_ETIME TIME_FUNC )
284
- CHECK_TIME_FUNCTION (EXT_ETIME_ TIME_FUNC )
285
- CHECK_TIME_FUNCTION (INT_ETIME TIME_FUNC )
286
- message (STATUS "--> Will use second_${TIME_FUNC} .f and dsecnd_${TIME_FUNC} .f as timing function." )
287
-
288
- set (SECOND_SRC ${LAPACK_SOURCE_DIR} /INSTALL/second_${TIME_FUNC}.f )
289
- set (DSECOND_SRC ${LAPACK_SOURCE_DIR} /INSTALL/dsecnd_${TIME_FUNC}.f )
290
-
291
197
# deprecated LAPACK and LAPACKE routines
292
198
option (BUILD_DEPRECATED "Build deprecated routines" OFF )
293
199
message (STATUS "Build deprecated routines: ${BUILD_DEPRECATED} " )
@@ -380,25 +286,55 @@ endif()
380
286
381
287
# Check the usage of the user provided or automatically found LAPACK libraries
382
288
if (LAPACK_LIBRARIES )
383
- include (CheckFortranFunctionExists )
384
- set (CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES} )
385
- # Check if new routine of 3.4.0 is in LAPACK_LIBRARIES
386
- CHECK_FORTRAN_FUNCTION_EXISTS ("dgeqrt" LATESTLAPACK_FOUND )
387
- unset (CMAKE_REQUIRED_LIBRARIES )
388
- if (LATESTLAPACK_FOUND )
389
- message (STATUS "--> LAPACK supplied by user is WORKING, will use ${LAPACK_LIBRARIES} ." )
289
+ include (CheckLanguage )
290
+ check_language (Fortran )
291
+ if (CMAKE_Fortran_COMPILER )
292
+ enable_language (Fortran )
293
+ include (CheckFortranFunctionExists )
294
+ set (CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES} )
295
+ # Check if new routine of 3.4.0 is in LAPACK_LIBRARIES
296
+ CHECK_FORTRAN_FUNCTION_EXISTS ("dgeqrt" LATESTLAPACK_FOUND )
297
+ unset (CMAKE_REQUIRED_LIBRARIES )
298
+ if (LATESTLAPACK_FOUND )
299
+ message (STATUS "--> LAPACK supplied by user is WORKING, will use ${LAPACK_LIBRARIES} ." )
300
+ else ()
301
+ message (ERROR "--> LAPACK supplied by user is not WORKING or is older than LAPACK 3.4.0, CANNOT USE ${LAPACK_LIBRARIES} ." )
302
+ message (ERROR "--> Will use REFERENCE LAPACK (by default)" )
303
+ message (ERROR "--> Or Correct your LAPACK_LIBRARIES entry " )
304
+ message (ERROR "--> Or Consider checking USE_OPTIMIZED_LAPACK" )
305
+ endif ()
390
306
else ()
391
- message (ERROR "--> LAPACK supplied by user is not WORKING or is older than LAPACK 3.4.0, CANNOT USE ${LAPACK_LIBRARIES} ." )
392
- message (ERROR "--> Will use REFERENCE LAPACK (by default)" )
393
- message (ERROR "--> Or Correct your LAPACK_LIBRARIES entry " )
394
- message (ERROR "--> Or Consider checking USE_OPTIMIZED_LAPACK" )
307
+ message (STATUS "--> LAPACK supplied by user is ${LAPACK_LIBRARIES} ." )
308
+ message (STATUS "--> CMake couldn't find a Fortran compiler, so it cannot check if the provided LAPACK library works." )
309
+ set (LATESTLAPACK_FOUND TRUE )
395
310
endif ()
396
311
endif ()
397
312
398
313
# Neither user specified or optimized LAPACK libraries can be used
399
314
if (NOT LATESTLAPACK_FOUND )
400
315
message (STATUS "Using supplied NETLIB LAPACK implementation" )
401
316
set (LAPACK_LIBRARIES ${LAPACKLIB} )
317
+
318
+ enable_language (Fortran )
319
+
320
+ # Check for any necessary platform specific compiler flags
321
+ include (CheckLAPACKCompilerFlags )
322
+ CheckLAPACKCompilerFlags ()
323
+
324
+ # Check second function
325
+ include (CheckTimeFunction )
326
+ set (TIME_FUNC NONE )
327
+ CHECK_TIME_FUNCTION (NONE TIME_FUNC )
328
+ CHECK_TIME_FUNCTION (INT_CPU_TIME TIME_FUNC )
329
+ CHECK_TIME_FUNCTION (EXT_ETIME TIME_FUNC )
330
+ CHECK_TIME_FUNCTION (EXT_ETIME_ TIME_FUNC )
331
+ CHECK_TIME_FUNCTION (INT_ETIME TIME_FUNC )
332
+
333
+ # Set second function
334
+ message (STATUS "--> Will use second_${TIME_FUNC} .f and dsecnd_${TIME_FUNC} .f as timing function." )
335
+ set (SECOND_SRC ${LAPACK_SOURCE_DIR} /INSTALL/second_${TIME_FUNC}.f )
336
+ set (DSECOND_SRC ${LAPACK_SOURCE_DIR} /INSTALL/dsecnd_${TIME_FUNC}.f )
337
+
402
338
add_subdirectory (SRC )
403
339
else ()
404
340
set (CMAKE_EXE_LINKER_FLAGS
@@ -431,9 +367,11 @@ endif()
431
367
# Cache export target
432
368
set (LAPACK_INSTALL_EXPORT_NAME_CACHE ${LAPACK_INSTALL_EXPORT_NAME} )
433
369
if (BUILD_TESTING OR LAPACKE_WITH_TMG )
370
+ enable_language (Fortran )
434
371
if (LATESTLAPACK_FOUND AND LAPACKE_WITH_TMG )
435
372
set (CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES} )
436
373
# Check if dlatms (part of tmg) is found
374
+ include (CheckFortranFunctionExists )
437
375
CHECK_FORTRAN_FUNCTION_EXISTS ("dlatms" LAPACK_WITH_TMGLIB_FOUND )
438
376
unset (CMAKE_REQUIRED_LIBRARIES )
439
377
if (NOT LAPACK_WITH_TMGLIB_FOUND )
@@ -448,6 +386,12 @@ endif()
448
386
set (LAPACK_INSTALL_EXPORT_NAME ${LAPACK_INSTALL_EXPORT_NAME_CACHE} )
449
387
unset (LAPACK_INSTALL_EXPORT_NAME_CACHE )
450
388
389
+
390
+ #-------------------------------------
391
+ # LAPACKE
392
+ # Include lapack.h and lapacke_mangling.h even if LAPACKE is not built
393
+ add_subdirectory (LAPACKE/include )
394
+
451
395
if (LAPACKE )
452
396
add_subdirectory (LAPACKE )
453
397
endif ()
@@ -474,8 +418,8 @@ if (BLAS++)
474
418
ExternalProject_Add (blaspp
475
419
URL https://bitbucket.org/icl/blaspp/downloads/blaspp-2020.10.02.tar.gz
476
420
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${CMAKE_BINARY_DIR}/lib LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=${PROJECT_BINARY_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} ${PROJECT_BINARY_DIR} /blaspp-prefix/src/blaspp
477
- BUILD_COMMAND ${CMAKE_COMMAND} -E env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib LIB_SUFFIX= "" make
478
- INSTALL_COMMAND make PREFIX =${PROJECT_BINARY_DIR} LIB_SUFFIX= "" install
421
+ BUILD_COMMAND ${CMAKE_COMMAND} -E env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib LIB_SUFFIX= "" ${CMAKE_COMMAND} --build .
422
+ INSTALL_COMMAND ${CMAKE_COMMAND} -E env PREFIX =${PROJECT_BINARY_DIR} LIB_SUFFIX= "" ${CMAKE_COMMAND} -- install .
479
423
)
480
424
ExternalProject_Add_StepDependencies (blaspp build ${BLAS_LIBRARIES} )
481
425
endif ()
@@ -487,16 +431,16 @@ if (LAPACK++)
487
431
ExternalProject_Add (lapackpp
488
432
URL https://bitbucket.org/icl/lapackpp/downloads/lapackpp-2020.10.02.tar.gz
489
433
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${CMAKE_BINARY_DIR}/lib LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=${PROJECT_BINARY_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DLAPACK_LIBRARIES=${LAPACK_LIBRARIES} -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} ${PROJECT_BINARY_DIR} /lapackpp-prefix/src/lapackpp
490
- BUILD_COMMAND ${CMAKE_COMMAND} -E env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib LIB_SUFFIX= "" make
491
- INSTALL_COMMAND make PREFIX =${PROJECT_BINARY_DIR} LIB_SUFFIX= "" install
434
+ BUILD_COMMAND ${CMAKE_COMMAND} -E env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib LIB_SUFFIX= "" ${CMAKE_COMMAND} --build .
435
+ INSTALL_COMMAND ${CMAKE_COMMAND} -E env PREFIX =${PROJECT_BINARY_DIR} LIB_SUFFIX= "" ${CMAKE_COMMAND} -- install .
492
436
)
493
437
else ()
494
438
# FIXME this does not really work as the libraries list gets converted to a semicolon-separated list somewhere in the lapack++ build files
495
439
ExternalProject_Add (lapackpp
496
440
URL https://bitbucket.org/icl/lapackpp/downloads/lapackpp-2020.10.02.tar.gz
497
441
CONFIGURE_COMMAND env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${CMAKE_BINARY_DIR}/lib LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=${PROJECT_BINARY_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DLAPACK_LIBRARIES= "${PROJECT_BINARY_DIR} /lib/liblapack.a -lgfortran" -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} ${PROJECT_BINARY_DIR} /lapackpp-prefix/src/lapackpp
498
- BUILD_COMMAND env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib LIB_SUFFIX= "" make
499
- INSTALL_COMMAND make PREFIX =${PROJECT_BINARY_DIR} LIB_SUFFIX= "" install
442
+ BUILD_COMMAND env LIBRARY_PATH =$ENV{LIBRARY_PATH}:${PROJECT_BINARY_DIR}/lib LIB_SUFFIX= "" ${CMAKE_COMMAND} --build .
443
+ INSTALL_COMMAND ${CMAKE_COMMAND} -E env PREFIX =${PROJECT_BINARY_DIR} LIB_SUFFIX= "" ${CMAKE_COMMAND} -- install .
500
444
)
501
445
endif ()
502
446
ExternalProject_Add_StepDependencies (lapackpp build blaspp ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES} )
@@ -671,22 +615,34 @@ if(BUILD_HTML_DOCUMENTATION OR BUILD_MAN_DOCUMENTATION)
671
615
set (DOXYGEN_PROJECT_BRIEF "LAPACK: Linear Algebra PACKage" )
672
616
set (DOXYGEN_PROJECT_NUMBER ${LAPACK_VERSION} )
673
617
set (DOXYGEN_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /DOCS )
674
- set (PROJECT_LOGO ${CMAKE_CURRENT_SOURCE_DIR} /DOCS/lapack.png )
618
+ set (DOXYGEN_PROJECT_LOGO ${CMAKE_CURRENT_SOURCE_DIR} /DOCS/lapack.png )
675
619
set (DOXYGEN_OPTIMIZE_FOR_FORTRAN YES )
676
620
set (DOXYGEN_SOURCE_BROWSER YES )
677
- set (DISTRIBUTE_GROUP_DOC YES )
678
621
set (DOXYGEN_CREATE_SUBDIRS YES )
679
622
set (DOXYGEN_SEPARATE_MEMBER_PAGES YES )
680
623
set (DOXYGEN_EXTRACT_ALL YES )
681
- set (DOXYGEN_FILE_PATTERNS " *.f;*.c; *.h" )
624
+ set (DOXYGEN_FILE_PATTERNS *.f *.f90 *.c *.h )
682
625
set (DOXYGEN_RECURSIVE YES )
683
626
set (DOXYGEN_GENERATE_TREEVIEW YES )
627
+ set (DOXYGEN_DOT_IMAGE_FORMAT svg )
684
628
set (DOXYGEN_INTERACTIVE_SVG YES )
685
- set (DOXYGEN_QUIET YES )
686
- set (DOXYGEN_WARNINGS NO )
629
+ set (DOXYGEN_QUIET NO )
630
+ set (DOXYGEN_WARNINGS YES )
631
+ set (DOXYGEN_WARN_NO_PARAMDOC YES )
632
+ set (DOXYGEN_WARN_LOGFILE doxygen_error )
687
633
set (DOXYGEN_GENERATE_HTML NO )
688
634
set (DOXYGEN_GENERATE_MAN NO )
689
-
635
+ set (DOXYGEN_LAYOUT_FILE "DOCS/DoxygenLayout.xml" )
636
+
637
+ # Exclude functions that are duplicated, creating conflicts.
638
+ set (DOXYGEN_EXCLUDE .git
639
+ .github
640
+ SRC/VARIANTS
641
+ BLAS/SRC/lsame.f
642
+ BLAS/SRC/xerbla.f
643
+ BLAS/SRC/xerbla_array.f
644
+ INSTALL /slamchf77.f
645
+ INSTALL /dlamchf77.f )
690
646
691
647
if (BUILD_HTML_DOCUMENTATION )
692
648
set (DOXYGEN_GENERATE_HTML YES )
@@ -697,21 +653,37 @@ if(BUILD_HTML_DOCUMENTATION OR BUILD_MAN_DOCUMENTATION)
697
653
698
654
doxygen_add_docs (
699
655
html
700
- ${PROJECT_SOURCE_DIR}
656
+
657
+ # Doxygen INPUT =
658
+ ${PROJECT_SOURCE_DIR} /README.md
659
+ ${PROJECT_SOURCE_DIR} /BLAS
660
+ ${PROJECT_SOURCE_DIR} /CBLAS
661
+ ${PROJECT_SOURCE_DIR} /SRC
662
+ ${PROJECT_SOURCE_DIR} /INSTALL
663
+ ${PROJECT_SOURCE_DIR} /TESTING
664
+ ${PROJECT_SOURCE_DIR} /DOCS/groups-usr.dox
665
+
701
666
COMMENT "Generating html LAPACK documentation (it will take some time... time to grab a coffee)"
702
667
)
703
668
endif ()
704
669
if (BUILD_MAN_DOCUMENTATION )
705
670
set (DOXYGEN_GENERATE_MAN YES )
706
- set (DOXYGEN_EXCLUDE SRC/VARIANTS )
707
671
set (DOXYGEN_MAN_LINKS YES )
708
672
set (DOXYGEN_INLINE_SOURCES NO )
709
673
set (DOXYGEN_CALL_GRAPH NO )
710
674
set (DOXYGEN_CALLER_GRAPH NO )
711
675
712
676
doxygen_add_docs (
713
677
man
714
- ${PROJECT_SOURCE_DIR}
678
+
679
+ # Doxygen INPUT =
680
+ ${PROJECT_SOURCE_DIR} /BLAS
681
+ ${PROJECT_SOURCE_DIR} /CBLAS
682
+ ${PROJECT_SOURCE_DIR} /SRC
683
+ ${PROJECT_SOURCE_DIR} /INSTALL
684
+ ${PROJECT_SOURCE_DIR} /TESTING
685
+ ${PROJECT_SOURCE_DIR} /DOCS/groups-usr.dox
686
+
715
687
COMMENT "Generating man LAPACK documentation"
716
688
)
717
689
endif ()
0 commit comments