summaryrefslogtreecommitdiff
path: root/TESTING
diff options
context:
space:
mode:
authorHans Johnson <hans-johnson@uiowa.edu>2016-07-10 14:38:44 -0500
committerHans Johnson <hans-johnson@uiowa.edu>2016-07-10 14:38:48 -0500
commit5333ddd9dc0fe7a54563fab4536b4a882605c02a (patch)
tree593aa7d8c899b127d6bb38bfb57b163ca63a63f2 /TESTING
parentb1e0d47edc106af8f1f0b9290785ced77c0ed1d0 (diff)
downloadlapack-5333ddd9dc0fe7a54563fab4536b4a882605c02a.tar.gz
lapack-5333ddd9dc0fe7a54563fab4536b4a882605c02a.tar.bz2
lapack-5333ddd9dc0fe7a54563fab4536b4a882605c02a.zip
Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. NOTE: MUST USE GNU compliant version of sed Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \ | xargs -0 gsed -i -f convert.sed \ && rm convert.sed
Diffstat (limited to 'TESTING')
-rw-r--r--TESTING/CMakeLists.txt2
-rw-r--r--TESTING/EIG/CMakeLists.txt2
-rw-r--r--TESTING/LIN/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/TESTING/CMakeLists.txt b/TESTING/CMakeLists.txt
index b7e5db97..2d587376 100644
--- a/TESTING/CMakeLists.txt
+++ b/TESTING/CMakeLists.txt
@@ -20,7 +20,7 @@ macro(add_lapack_test output input target)
-DINTDIR=${CMAKE_CFG_INTDIR}
-P "${LAPACK_SOURCE_DIR}/TESTING/runtest.cmake")
endif()
-endmacro(add_lapack_test)
+endmacro()
if (BUILD_SINGLE)
add_lapack_test(stest.out stest.in xlintsts)
diff --git a/TESTING/EIG/CMakeLists.txt b/TESTING/EIG/CMakeLists.txt
index 612bf1f3..b6bc77d6 100644
--- a/TESTING/EIG/CMakeLists.txt
+++ b/TESTING/EIG/CMakeLists.txt
@@ -120,7 +120,7 @@ set(ZEIGTST zchkee.f
macro(add_eig_executable name )
add_executable(${name} ${ARGN})
target_link_libraries(${name} tmglib ${LAPACK_LIBRARIES})
-endmacro(add_eig_executable)
+endmacro()
if (BUILD_SINGLE)
add_eig_executable(xeigtsts ${SEIGTST} ${SCIGTST} ${AEIGTST}
diff --git a/TESTING/LIN/CMakeLists.txt b/TESTING/LIN/CMakeLists.txt
index beb6ac61..a924b12f 100644
--- a/TESTING/LIN/CMakeLists.txt
+++ b/TESTING/LIN/CMakeLists.txt
@@ -194,7 +194,7 @@ set(ZLINTSTRFP zchkrfp.f zdrvrfp.f zdrvrf1.f zdrvrf2.f zdrvrf3.f zdrvrf4.f zerr
macro(add_lin_executable name )
add_executable(${name} ${ARGN})
target_link_libraries(${name} tmglib ${LAPACK_LIBRARIES})
-endmacro(add_lin_executable)
+endmacro()
if(BUILD_SINGLE)
add_lin_executable(xlintsts ${ALINTST} ${SCLNTST} ${SLINTST} ${SECOND_SRC} )