From b1e0d47edc106af8f1f0b9290785ced77c0ed1d0 Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Sun, 10 Jul 2016 14:37:43 -0500 Subject: [PATCH] STYLE: Convert CMake-language commands to lower case Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: NOTE: MUST USE GNU compliant version of sed cmake --help-command-list \ | grep -v "cmake version" \ | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \ | xargs -0 gsed -i -f convert.sed \ && rm convert.sed --- CBLAS/CMakeLists.txt | 2 +- CBLAS/include/CMakeLists.txt | 2 +- CBLAS/testing/CMakeLists.txt | 26 ++++++++--------- CMAKE/FortranMangling.cmake | 66 +++++++++++++++++++++--------------------- CMakeLists.txt | 42 +++++++++++++-------------- CTestConfig.cmake | 4 +-- CTestCustom.cmake.in | 14 ++++----- LAPACKE/CMakeLists.txt | 6 ++-- LAPACKE/include/CMakeLists.txt | 2 +- LAPACKE/src/CMakeLists.txt | 10 +++---- SRC/CMakeLists.txt | 8 ++--- TESTING/LIN/CMakeLists.txt | 6 ++-- 12 files changed, 94 insertions(+), 94 deletions(-) diff --git a/CBLAS/CMakeLists.txt b/CBLAS/CMakeLists.txt index b014270..9f6f043 100644 --- a/CBLAS/CMakeLists.txt +++ b/CBLAS/CMakeLists.txt @@ -28,7 +28,7 @@ endforeach() endmacro() append_subdir_files(CBLAS_INCLUDE "include") -INSTALL( FILES ${CBLAS_INCLUDE} ${LAPACK_BINARY_DIR}/include/cblas_mangling.h DESTINATION include ) +install( FILES ${CBLAS_INCLUDE} ${LAPACK_BINARY_DIR}/include/cblas_mangling.h DESTINATION include ) # -------------------------------------------------- if(BUILD_TESTING) diff --git a/CBLAS/include/CMakeLists.txt b/CBLAS/include/CMakeLists.txt index 208733b..a333467 100644 --- a/CBLAS/include/CMakeLists.txt +++ b/CBLAS/include/CMakeLists.txt @@ -1,3 +1,3 @@ -SET (CBLAS_INCLUDE cblas.h cblas_f77.h cblas_test.h ) +set (CBLAS_INCLUDE cblas.h cblas_f77.h cblas_test.h ) file(COPY ${CBLAS_INCLUDE} DESTINATION ${LAPACK_BINARY_DIR}/include) diff --git a/CBLAS/testing/CMakeLists.txt b/CBLAS/testing/CMakeLists.txt index beaa2cd..2456d22 100644 --- a/CBLAS/testing/CMakeLists.txt +++ b/CBLAS/testing/CMakeLists.txt @@ -26,26 +26,26 @@ endmacro(add_cblas_test) # Object files for single real precision -SET( STESTL1O c_sblas1.c) +set( STESTL1O c_sblas1.c) -SET( STESTL2O c_sblas2.c c_s2chke.c auxiliary.c c_xerbla.c) -SET( STESTL2O c_sblas2.c c_s2chke.c auxiliary.c c_xerbla.c) -SET( STESTL3O c_sblas3.c c_s3chke.c auxiliary.c c_xerbla.c) +set( STESTL2O c_sblas2.c c_s2chke.c auxiliary.c c_xerbla.c) +set( STESTL2O c_sblas2.c c_s2chke.c auxiliary.c c_xerbla.c) +set( STESTL3O c_sblas3.c c_s3chke.c auxiliary.c c_xerbla.c) # Object files for double real precision -SET( DTESTL1O c_dblas1.c) -SET( DTESTL2O c_dblas2.c c_d2chke.c auxiliary.c c_xerbla.c) -SET( DTESTL3O c_dblas3.c c_d3chke.c auxiliary.c c_xerbla.c) +set( DTESTL1O c_dblas1.c) +set( DTESTL2O c_dblas2.c c_d2chke.c auxiliary.c c_xerbla.c) +set( DTESTL3O c_dblas3.c c_d3chke.c auxiliary.c c_xerbla.c) # Object files for single complex precision -SET( CTESTL1O c_cblat1.f c_cblas1.c) -SET( CTESTL2O c_cblas2.c c_c2chke.c auxiliary.c c_xerbla.c) -SET( CTESTL3O c_cblas3.c c_c3chke.c auxiliary.c c_xerbla.c) +set( CTESTL1O c_cblat1.f c_cblas1.c) +set( CTESTL2O c_cblas2.c c_c2chke.c auxiliary.c c_xerbla.c) +set( CTESTL3O c_cblas3.c c_c3chke.c auxiliary.c c_xerbla.c) # Object files for double complex precision -SET( ZTESTL1O c_zblas1.c) -SET( ZTESTL2O c_zblas2.c c_z2chke.c auxiliary.c c_xerbla.c) -SET( ZTESTL3O c_zblas3.c c_z3chke.c auxiliary.c c_xerbla.c) +set( ZTESTL1O c_zblas1.c) +set( ZTESTL2O c_zblas2.c c_z2chke.c auxiliary.c c_xerbla.c) +set( ZTESTL3O c_zblas3.c c_z3chke.c auxiliary.c c_xerbla.c) diff --git a/CMAKE/FortranMangling.cmake b/CMAKE/FortranMangling.cmake index 2d9c626..e0a9fd5 100644 --- a/CMAKE/FortranMangling.cmake +++ b/CMAKE/FortranMangling.cmake @@ -10,37 +10,37 @@ # UpCase # macro(FORTRAN_MANGLING CDEFS) -MESSAGE(STATUS "=========") - GET_FILENAME_COMPONENT(F77_NAME ${CMAKE_Fortran_COMPILER} NAME) - GET_FILENAME_COMPONENT(F77_PATH ${CMAKE_Fortran_COMPILER} PATH) - SET(F77 ${F77_NAME} CACHE INTERNAL "Name of the fortran compiler.") +message(STATUS "=========") + get_filename_component(F77_NAME ${CMAKE_Fortran_COMPILER} NAME) + get_filename_component(F77_PATH ${CMAKE_Fortran_COMPILER} PATH) + set(F77 ${F77_NAME} CACHE INTERNAL "Name of the fortran compiler.") - IF(${F77} STREQUAL "ifort.exe") + if(${F77} STREQUAL "ifort.exe") #settings for Intel Fortran - SET(F77_OPTION_COMPILE "/c" CACHE INTERNAL + set(F77_OPTION_COMPILE "/c" CACHE INTERNAL "Fortran compiler option for compiling without linking.") - SET(F77_OUTPUT_OBJ "/Fo" CACHE INTERNAL + set(F77_OUTPUT_OBJ "/Fo" CACHE INTERNAL "Fortran compiler option for setting object file name.") - SET(F77_OUTPUT_EXE "/Fe" CACHE INTERNAL + set(F77_OUTPUT_EXE "/Fe" CACHE INTERNAL "Fortran compiler option for setting executable file name.") - ELSE(${F77} STREQUAL "ifort.exe") + else(${F77} STREQUAL "ifort.exe") # in other case, let user specify their fortran configrations. - SET(F77_OPTION_COMPILE "-c" CACHE STRING + set(F77_OPTION_COMPILE "-c" CACHE STRING "Fortran compiler option for compiling without linking.") - SET(F77_OUTPUT_OBJ "-o" CACHE STRING + set(F77_OUTPUT_OBJ "-o" CACHE STRING "Fortran compiler option for setting object file name.") - SET(F77_OUTPUT_EXE "-o" CACHE STRING + set(F77_OUTPUT_EXE "-o" CACHE STRING "Fortran compiler option for setting executable file name.") - SET(F77_LIB_PATH "" CACHE PATH + set(F77_LIB_PATH "" CACHE PATH "Library path for the fortran compiler") - SET(F77_INCLUDE_PATH "" CACHE PATH + set(F77_INCLUDE_PATH "" CACHE PATH "Include path for the fortran compiler") - ENDIF(${F77} STREQUAL "ifort.exe") + endif(${F77} STREQUAL "ifort.exe") -MESSAGE(STATUS "Testing FORTRAN_MANGLING") +message(STATUS "Testing FORTRAN_MANGLING") -MESSAGE(STATUS "Compiling Finface.f...") +message(STATUS "Compiling Finface.f...") execute_process ( COMMAND ${CMAKE_Fortran_COMPILER} ${F77_OPTION_COMPILE} ${PROJECT_SOURCE_DIR}/lapacke/mangling/Fintface.f WORKING_DIRECTORY ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp @@ -49,13 +49,13 @@ MESSAGE(STATUS "Compiling Finface.f...") ERROR_VARIABLE ERROR) if(RESULT EQUAL 0) - MESSAGE(STATUS "Compiling Finface.f successful") + message(STATUS "Compiling Finface.f successful") else() - MESSAGE(FATAL_ERROR " Compiling Finface.f FAILED") - MESSAGE(FATAL_ERROR " Error:\n ${ERROR}") + message(FATAL_ERROR " Compiling Finface.f FAILED") + message(FATAL_ERROR " Error:\n ${ERROR}") endif() -MESSAGE(STATUS "Compiling Cintface.c...") +message(STATUS "Compiling Cintface.c...") execute_process ( COMMAND ${CMAKE_C_COMPILER} ${F77_OPTION_COMPILE} ${PROJECT_SOURCE_DIR}/lapacke/mangling/Cintface.c WORKING_DIRECTORY ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp @@ -64,13 +64,13 @@ MESSAGE(STATUS "Compiling Cintface.c...") ERROR_VARIABLE ERROR) if(RESULT EQUAL 0) - MESSAGE(STATUS "Compiling Cintface.c successful") + message(STATUS "Compiling Cintface.c successful") else() - MESSAGE(FATAL_ERROR " Compiling Cintface.c FAILED") - MESSAGE(FATAL_ERROR " Error:\n ${ERROR}") + message(FATAL_ERROR " Compiling Cintface.c FAILED") + message(FATAL_ERROR " Error:\n ${ERROR}") endif() -MESSAGE(STATUS "Linking Finface.f and Cintface.c...") +message(STATUS "Linking Finface.f and Cintface.c...") execute_process ( COMMAND ${CMAKE_Fortran_COMPILER} ${F77_OUTPUT_OBJ} xintface.exe Fintface.o Cintface.o WORKING_DIRECTORY ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp @@ -79,13 +79,13 @@ MESSAGE(STATUS "Linking Finface.f and Cintface.c...") ERROR_VARIABLE ERROR) if(RESULT EQUAL 0) - MESSAGE(STATUS "Linking Finface.f and Cintface.c successful") + message(STATUS "Linking Finface.f and Cintface.c successful") else() - MESSAGE(FATAL_ERROR " Linking Finface.f and Cintface.c FAILED") - MESSAGE(FATAL_ERROR " Error:\n ${ERROR}") + message(FATAL_ERROR " Linking Finface.f and Cintface.c FAILED") + message(FATAL_ERROR " Error:\n ${ERROR}") endif() -MESSAGE(STATUS "Running ./xintface...") +message(STATUS "Running ./xintface...") execute_process ( COMMAND ./xintface.exe WORKING_DIRECTORY ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp @@ -95,11 +95,11 @@ MESSAGE(STATUS "Running ./xintface...") if (xintface_RES EQUAL 0) - STRING(REPLACE "\n" "" xintface_OUT "${xintface_OUT}") - MESSAGE(STATUS "Fortran MANGLING convention: ${xintface_OUT}") - SET(CDEFS ${xintface_OUT}) + string(REPLACE "\n" "" xintface_OUT "${xintface_OUT}") + message(STATUS "Fortran MANGLING convention: ${xintface_OUT}") + set(CDEFS ${xintface_OUT}) else() - MESSAGE(FATAL_ERROR "FORTRAN_MANGLING:ERROR ${xintface_ERR}") + message(FATAL_ERROR "FORTRAN_MANGLING:ERROR ${xintface_ERR}") endif() endmacro(FORTRAN_MANGLING) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5055c9c..b32976f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ if (UNIX) endif () # Delete libmtsk in linking sequence for Sun/Oracle Fortran Compiler. # This library is not present in the Sun package SolarisStudio12.3-linux-x86-bin - STRING(REPLACE \;mtsk\; \; CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES "${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES}") + string(REPLACE \;mtsk\; \; CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES "${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES}") endif () if ( CMAKE_Fortran_COMPILER_ID STREQUAL "Compaq" ) @@ -279,37 +279,37 @@ endif(LAPACKE) # -------------------------------------------------- # CPACK Packaging -SET(CPACK_PACKAGE_NAME "LAPACK") -SET(CPACK_PACKAGE_VENDOR "University of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd") -SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "LAPACK- Linear Algebra Package") +set(CPACK_PACKAGE_NAME "LAPACK") +set(CPACK_PACKAGE_VENDOR "University of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "LAPACK- Linear Algebra Package") set(CPACK_PACKAGE_VERSION_MAJOR 3) set(CPACK_PACKAGE_VERSION_MINOR 5) set(CPACK_PACKAGE_VERSION_PATCH 0) set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE") -SET(CPACK_PACKAGE_INSTALL_DIRECTORY "LAPACK") -IF(WIN32 AND NOT UNIX) +set(CPACK_PACKAGE_INSTALL_DIRECTORY "LAPACK") +if(WIN32 AND NOT UNIX) # There is a bug in NSI that does not handle full unix paths properly. Make # sure there is at least one set of four (4) backlasshes. - SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\http://icl.cs.utk.edu/lapack-forum") - SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.netlib.org/lapack") - SET(CPACK_NSIS_CONTACT "lapack@eecs.utk.edu") - SET(CPACK_NSIS_MODIFY_PATH ON) - SET(CPACK_NSIS_DISPLAY_NAME "LAPACK-${LAPACK_VERSION}") + set(CPACK_NSIS_HELP_LINK "http:\\\\\\\\http://icl.cs.utk.edu/lapack-forum") + set(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.netlib.org/lapack") + set(CPACK_NSIS_CONTACT "lapack@eecs.utk.edu") + set(CPACK_NSIS_MODIFY_PATH ON) + set(CPACK_NSIS_DISPLAY_NAME "LAPACK-${LAPACK_VERSION}") set(CPACK_PACKAGE_RELOCATABLE "true") -ELSE(WIN32 AND NOT UNIX) - SET(CPACK_GENERATOR "TGZ") - SET(CPACK_SOURCE_GENERATOR TGZ) - SET(CPACK_SOURCE_PACKAGE_FILE_NAME "lapack-${LAPACK_VERSION}" ) - SET(CPACK_SOURCE_IGNORE_FILES ~$ .svn ${CPACK_SOURCE_IGNORE_FILES} ) -ENDIF(WIN32 AND NOT UNIX) -INCLUDE(CPack) +else(WIN32 AND NOT UNIX) + set(CPACK_GENERATOR "TGZ") + set(CPACK_SOURCE_GENERATOR TGZ) + set(CPACK_SOURCE_PACKAGE_FILE_NAME "lapack-${LAPACK_VERSION}" ) + set(CPACK_SOURCE_IGNORE_FILES ~$ .svn ${CPACK_SOURCE_IGNORE_FILES} ) +endif(WIN32 AND NOT UNIX) +include(CPack) # -------------------------------------------------- # By default static library -OPTION(BUILD_SHARED_LIBS "Build shared libraries" OFF ) -OPTION(BUILD_STATIC_LIBS "Build static libraries" ON ) -#OPTION(BUILD_SHARED_LIBS "Build shared libraries" ON ) +option(BUILD_SHARED_LIBS "Build shared libraries" OFF ) +option(BUILD_STATIC_LIBS "Build static libraries" ON ) +#option(BUILD_SHARED_LIBS "Build shared libraries" ON ) if(NOT BLAS_FOUND) set(ALL_TARGETS ${ALL_TARGETS} blas) diff --git a/CTestConfig.cmake b/CTestConfig.cmake index a127496..17770d8 100644 --- a/CTestConfig.cmake +++ b/CTestConfig.cmake @@ -2,8 +2,8 @@ ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## # The following are required to uses Dart and the Cdash dashboard -## ENABLE_TESTING() -## INCLUDE(CTest) +## enable_testing() +## include(CTest) set(CTEST_PROJECT_NAME "LAPACK") set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index c10cd32..19469af 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -3,13 +3,13 @@ # see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest # -SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 0) -SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 0) -SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 500) -SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 500) +set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 0) +set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 0) +set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 500) +set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 500) # Files to explicitly exclude from code coverage -SET(CTEST_CUSTOM_COVERAGE_EXCLUDE +set(CTEST_CUSTOM_COVERAGE_EXCLUDE ${CTEST_CUSTOM_COVERAGE_EXCLUDE} # Exclude the internal BLAS libraries @@ -20,7 +20,7 @@ SET(CTEST_CUSTOM_COVERAGE_EXCLUDE ) # Warnings to explicitly ignore -SET(CTEST_CUSTOM_WARNING_EXCEPTION +set(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION} # Common warning when linking ATLAS built with GNU Fortran 4.1 and building @@ -43,4 +43,4 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION "Character string truncated to length 1 on assignment" ) -SET(CTEST_CUSTOM_POST_TEST "./lapack_testing.py -s -d TESTING") \ No newline at end of file +set(CTEST_CUSTOM_POST_TEST "./lapack_testing.py -s -d TESTING") \ No newline at end of file diff --git a/LAPACKE/CMakeLists.txt b/LAPACKE/CMakeLists.txt index 7208d53..737700f 100644 --- a/LAPACKE/CMakeLists.txt +++ b/LAPACKE/CMakeLists.txt @@ -17,8 +17,8 @@ if( NOT FortranCInterface_GLOBAL_FOUND OR NOT FortranCInterface_MODULE_FOUND) endif () if (WIN32 AND NOT UNIX) - ADD_DEFINITIONS(-DHAVE_LAPACK_CONFIG_H -DLAPACK_COMPLEX_STRUCTURE) - MESSAGE (STATUS "Windows BUILD") + add_definitions(-DHAVE_LAPACK_CONFIG_H -DLAPACK_COMPLEX_STRUCTURE) + message (STATUS "Windows BUILD") endif (WIN32 AND NOT UNIX) get_directory_property( DirDefs COMPILE_DEFINITIONS ) @@ -55,7 +55,7 @@ else (USE_XBLAS) endif(USE_XBLAS) lapack_install_library(lapacke) -INSTALL( FILES ${LAPACKE_INCLUDE} ${LAPACK_BINARY_DIR}/include/lapacke_mangling.h DESTINATION include ) +install( FILES ${LAPACKE_INCLUDE} ${LAPACK_BINARY_DIR}/include/lapacke_mangling.h DESTINATION include ) if(BUILD_TESTING) add_subdirectory(example) diff --git a/LAPACKE/include/CMakeLists.txt b/LAPACKE/include/CMakeLists.txt index fbcfbdd..3034962 100644 --- a/LAPACKE/include/CMakeLists.txt +++ b/LAPACKE/include/CMakeLists.txt @@ -1,3 +1,3 @@ -SET (LAPACKE_INCLUDE lapacke.h lapacke_config.h lapacke_utils.h ) +set (LAPACKE_INCLUDE lapacke.h lapacke_config.h lapacke_utils.h ) file(COPY ${LAPACKE_INCLUDE} DESTINATION ${LAPACK_BINARY_DIR}/include) diff --git a/LAPACKE/src/CMakeLists.txt b/LAPACKE/src/CMakeLists.txt index d59ab8a..f1a8701 100644 --- a/LAPACKE/src/CMakeLists.txt +++ b/LAPACKE/src/CMakeLists.txt @@ -1,6 +1,6 @@ -#AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} SRC_OBJ) +#aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRC_OBJ) -SET (SRC_OBJ +set (SRC_OBJ lapacke_cbbcsd.c lapacke_cbbcsd_work.c lapacke_cbdsqr.c @@ -2085,7 +2085,7 @@ lapacke_ilaver.c ) if(BUILD_DEPRECATED) - LIST(APPEND SRC_OBJ + list(APPEND SRC_OBJ lapacke_cggsvp.c lapacke_cggsvp_work.c lapacke_dggsvp.c @@ -2113,7 +2113,7 @@ if(BUILD_DEPRECATED) message(STATUS "Building LAPACKE deprecated routines") endif() -SET(SRCX_OBJ +set(SRCX_OBJ lapacke_cgbrfsx.c lapacke_cporfsx.c lapacke_dgerfsx.c lapacke_sgbrfsx.c lapacke_ssyrfsx.c lapacke_zherfsx.c lapacke_cgbrfsx_work.c lapacke_cporfsx_work.c lapacke_dgerfsx_work.c lapacke_sgbrfsx_work.c lapacke_ssyrfsx_work.c lapacke_zherfsx_work.c lapacke_cgerfsx.c lapacke_csyrfsx.c lapacke_dporfsx.c lapacke_sgerfsx.c lapacke_zgbrfsx.c lapacke_zporfsx.c @@ -2129,7 +2129,7 @@ lapacke_chesvxx_work.c lapacke_dgbsvxx_work.c lapacke_dsysvxx_work.c lapacke_ ) # FILE PARTS OF TMGLIB -SET (MATGEN_OBJ +set (MATGEN_OBJ lapacke_clatms.c lapacke_clatms_work.c lapacke_dlatms.c diff --git a/SRC/CMakeLists.txt b/SRC/CMakeLists.txt index bb5fc44..b80deab 100644 --- a/SRC/CMakeLists.txt +++ b/SRC/CMakeLists.txt @@ -415,16 +415,16 @@ if( USE_XBLAS) endif() if(BUILD_DEPRECATED) - LIST(APPEND SLASRC DEPRECATED/sgegs.f DEPRECATED/sgegv.f + list(APPEND SLASRC DEPRECATED/sgegs.f DEPRECATED/sgegv.f DEPRECATED/sgeqpf.f DEPRECATED/sgelsx.f DEPRECATED/sggsvd.f DEPRECATED/sggsvp.f DEPRECATED/slahrd.f DEPRECATED/slatzm.f DEPRECATED/stzrqf.f) - LIST(APPEND DLASRC DEPRECATED/dgegs.f DEPRECATED/dgegv.f + list(APPEND DLASRC DEPRECATED/dgegs.f DEPRECATED/dgegv.f DEPRECATED/dgeqpf.f DEPRECATED/dgelsx.f DEPRECATED/dggsvd.f DEPRECATED/dggsvp.f DEPRECATED/dlahrd.f DEPRECATED/dlatzm.f DEPRECATED/dtzrqf.f ) - LIST(APPEND CLASRC DEPRECATED/cgegs.f DEPRECATED/cgegv.f + list(APPEND CLASRC DEPRECATED/cgegs.f DEPRECATED/cgegv.f DEPRECATED/cgeqpf.f DEPRECATED/cgelsx.f DEPRECATED/cggsvd.f DEPRECATED/cggsvp.f DEPRECATED/clahrd.f DEPRECATED/clatzm.f DEPRECATED/ctzrqf.f) - LIST(APPEND ZLASRC DEPRECATED/zgegs.f DEPRECATED/zgegv.f + list(APPEND ZLASRC DEPRECATED/zgegs.f DEPRECATED/zgegv.f DEPRECATED/zgeqpf.f DEPRECATED/zgelsx.f DEPRECATED/zggsvd.f DEPRECATED/zggsvp.f DEPRECATED/zlahrd.f DEPRECATED/zlatzm.f DEPRECATED/ztzrqf.f) message(STATUS "Building deprecated routines") diff --git a/TESTING/LIN/CMakeLists.txt b/TESTING/LIN/CMakeLists.txt index 50d16ca..beb6ac6 100644 --- a/TESTING/LIN/CMakeLists.txt +++ b/TESTING/LIN/CMakeLists.txt @@ -196,7 +196,7 @@ macro(add_lin_executable name ) target_link_libraries(${name} tmglib ${LAPACK_LIBRARIES}) endmacro(add_lin_executable) -IF(BUILD_SINGLE) +if(BUILD_SINGLE) add_lin_executable(xlintsts ${ALINTST} ${SCLNTST} ${SLINTST} ${SECOND_SRC} ) add_lin_executable(xlintstrfs ${SLINTSTRFP} ${SECOND_SRC}) endif() @@ -206,7 +206,7 @@ add_lin_executable(xlintstd ${ALINTST} ${DLINTST} ${DZLNTST} ${DSECOND_SRC}) add_lin_executable(xlintstrfd ${DLINTSTRFP} ${DSECOND_SRC}) endif() -IF(BUILD_SINGLE AND BUILD_DOUBLE) +if(BUILD_SINGLE AND BUILD_DOUBLE) add_lin_executable(xlintstds ${DSLINTST} ${SECOND_SRC} ${DSECOND_SRC} ) endif() @@ -220,6 +220,6 @@ add_lin_executable(xlintstz ${ALINTST} ${ZLINTST} ${DZLNTST} ${DSECOND_SRC}) add_lin_executable(xlintstrfz ${ZLINTSTRFP} ${DSECOND_SRC}) endif() -IF(BUILD_COMPLEX AND BUILD_COMPLEX16) +if(BUILD_COMPLEX AND BUILD_COMPLEX16) add_lin_executable(xlintstzc ${ZCLINTST} ${SECOND_SRC} ${DSECOND_SRC} ) endif() -- 2.7.4