summaryrefslogtreecommitdiff
path: root/CBLAS
diff options
context:
space:
mode:
authorHans Johnson <hans-johnson@uiowa.edu>2016-07-09 10:34:19 -0500
committerHans Johnson <hans-johnson@uiowa.edu>2016-07-09 10:34:19 -0500
commitf8fb0842d55c34ad2c26da58e9f55a3f10e52d0b (patch)
tree1be5f94764592cf36dedaf1fd22d97557c7d1fec /CBLAS
parentd177ffb1c16aaa08fb146a665add95d621fb2325 (diff)
downloadlapack-f8fb0842d55c34ad2c26da58e9f55a3f10e52d0b.tar.gz
lapack-f8fb0842d55c34ad2c26da58e9f55a3f10e52d0b.tar.bz2
lapack-f8fb0842d55c34ad2c26da58e9f55a3f10e52d0b.zip
STYLE: Remove trailing whitespace in CMake files
This is mostly a long term maintenance improvement. Many coding styles require elimination of trailing whitespace, and many editors and source code management configurations automatically gobble up whitespace. When these tools gobble up whitespace, it complicates reviewing the meaningful code changes. By removing whitespace on one patch, it makes future code reviews much easier.
Diffstat (limited to 'CBLAS')
-rw-r--r--CBLAS/CMakeLists.txt2
-rw-r--r--CBLAS/src/CMakeLists.txt22
-rw-r--r--CBLAS/testing/CMakeLists.txt24
3 files changed, 24 insertions, 24 deletions
diff --git a/CBLAS/CMakeLists.txt b/CBLAS/CMakeLists.txt
index 5dac7334..b014270a 100644
--- a/CBLAS/CMakeLists.txt
+++ b/CBLAS/CMakeLists.txt
@@ -7,7 +7,7 @@ set(LAPACK_INSTALL_EXPORT_NAME cblas-targets)
include(FortranCInterface)
## Ensure that the fortran compiler and c compiler specified are compatible
FortranCInterface_VERIFY()
-FortranCInterface_HEADER( ${LAPACK_BINARY_DIR}/include/cblas_mangling.h
+FortranCInterface_HEADER( ${LAPACK_BINARY_DIR}/include/cblas_mangling.h
MACRO_NAMESPACE "F77_"
SYMBOL_NAMESPACE "F77_" )
if( NOT FortranCInterface_GLOBAL_FOUND OR NOT FortranCInterface_MODULE_FOUND)
diff --git a/CBLAS/src/CMakeLists.txt b/CBLAS/src/CMakeLists.txt
index 8093a5c6..41b74a23 100644
--- a/CBLAS/src/CMakeLists.txt
+++ b/CBLAS/src/CMakeLists.txt
@@ -10,7 +10,7 @@ set (ERRHAND cblas_globals.c cblas_xerbla.c xerbla.c)
#
# Level 1
#
-#
+#
#
# All object files for single real precision
@@ -23,9 +23,9 @@ set (SLEV1 cblas_srotg.c cblas_srotmg.c cblas_srot.c cblas_srotm.c
#
# All object files for double real precision
#
-set (DLEV1 cblas_drotg.c cblas_drotmg.c cblas_drot.c cblas_drotm.c
+set (DLEV1 cblas_drotg.c cblas_drotmg.c cblas_drot.c cblas_drotm.c
cblas_dswap.c cblas_dscal.c cblas_dcopy.c cblas_daxpy.c
- cblas_ddot.c cblas_dsdot.c cblas_dnrm2.c cblas_dasum.c
+ cblas_ddot.c cblas_dsdot.c cblas_dnrm2.c cblas_dasum.c
cblas_idamax.c ddotsub.f dsdotsub.f dnrm2sub.f
dasumsub.f idamaxsub.f)
@@ -41,9 +41,9 @@ set (CLEV1 cblas_cswap.c cblas_cscal.c cblas_csscal.c cblas_ccopy.c
#
set (ZLEV1 cblas_zswap.c cblas_zscal.c cblas_zdscal.c cblas_zcopy.c
cblas_zaxpy.c cblas_zdotu_sub.c cblas_zdotc_sub.c cblas_dznrm2.c
- cblas_dzasum.c cblas_izamax.c zdotcsub.f zdotusub.f
+ cblas_dzasum.c cblas_izamax.c zdotcsub.f zdotusub.f
dzasumsub.f dznrm2sub.f izamaxsub.f)
-
+
#
# Common files for single complex precision
@@ -63,7 +63,7 @@ set (ALEV1 ${slev1} ${dlev1} ${clev1} ${zlev1} ${sclev1})
#
# Level 2
#
-#
+#
#
# All object files for single real precision
@@ -73,7 +73,7 @@ set (SLEV2 cblas_sgemv.c cblas_sgbmv.c cblas_sger.c cblas_ssbmv.c cblas_sspmv.c
cblas_stbmv.c cblas_stbsv.c cblas_stpmv.c cblas_stpsv.c cblas_strmv.c
cblas_strsv.c)
-
+
#
# All object files for double real precision
#
@@ -108,7 +108,7 @@ set (AVEL2 ${slev2} ${dlev2} ${clev2} ${zlev2})
#
# Level 3
#
-#
+#
#
# All object files for single real precision
@@ -140,7 +140,7 @@ set (ALEV3 ${slev3} ${dlev3} ${clev3} ${zlev3})
# default build all of it
set(ALLOBJ ${SCLEV1} ${SLEV1} ${SLEV2} ${SLEV3} ${ERRHAND}
${DLEV1} ${DLEV2} ${DLEV3}
- ${CLEV1} ${CLEV2} ${CLEV3}
+ ${CLEV1} ${CLEV2} ${CLEV3}
${ZLEV1} ${ZLEV2} ${ZLEV3} )
# Single real precision
@@ -152,14 +152,14 @@ endif(CBLAS_SINGLE)
if(CBLAS_DOUBLE)
set(ALLOBJ ${DLEV1} ${DLEV2} ${DLEV3} ${ERRHAND})
endif(CBLAS_DOUBLE)
-
+
# Single complex precision
if (CBLAS_COMPLEX)
set(ALLOBJ ${CLEV1} ${SCLEV1} ${CLEV2} ${CLEV3} ${ERRHAND})
endif(CBLAS_COMPLEX)
# Double complex precision
-if (CBLAS_COMPLEX16)
+if (CBLAS_COMPLEX16)
set(ALLOBJ ${ZLEV1} ${ZLEV2} ${ZLEV3} ${ERRHAND})
endif(CBLAS_COMPLEX16)
diff --git a/CBLAS/testing/CMakeLists.txt b/CBLAS/testing/CMakeLists.txt
index 28c55353..beaa2cd0 100644
--- a/CBLAS/testing/CMakeLists.txt
+++ b/CBLAS/testing/CMakeLists.txt
@@ -12,13 +12,13 @@ macro(add_cblas_test output input target)
add_test(NAME CBLAS-${testName} COMMAND "${CMAKE_COMMAND}"
-DTEST=$<TARGET_FILE:${target}>
-DINPUT=${TEST_INPUT}
- -DOUTPUT=${TEST_OUTPUT}
+ -DOUTPUT=${TEST_OUTPUT}
-DINTDIR=${CMAKE_CFG_INTDIR}
-P "${LAPACK_SOURCE_DIR}/TESTING/runtest.cmake")
else()
- add_test(NAME CBLAS-${testName} COMMAND "${CMAKE_COMMAND}"
+ add_test(NAME CBLAS-${testName} COMMAND "${CMAKE_COMMAND}"
-DTEST=$<TARGET_FILE:${target}>
- -DOUTPUT=${TEST_OUTPUT}
+ -DOUTPUT=${TEST_OUTPUT}
-DINTDIR=${CMAKE_CFG_INTDIR}
-P "${LAPACK_SOURCE_DIR}/TESTING/runtest.cmake")
endif()
@@ -53,15 +53,15 @@ if(BUILD_SINGLE)
add_executable(xscblat1 c_sblat1.f ${STESTL1O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
add_executable(xscblat2 c_sblat2.f ${STESTL2O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
add_executable(xscblat3 c_sblat3.f ${STESTL3O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
-
+
target_link_libraries(xscblat1 cblas ${BLAS_LIBRARIES})
target_link_libraries(xscblat2 cblas ${BLAS_LIBRARIES})
target_link_libraries(xscblat3 cblas ${BLAS_LIBRARIES})
-
+
add_cblas_test(stest1.out "" xscblat1)
add_cblas_test(stest2.out sin2 xscblat2)
add_cblas_test(stest3.out sin3 xscblat3)
-
+
endif()
if(BUILD_DOUBLE)
@@ -69,11 +69,11 @@ if(BUILD_DOUBLE)
add_executable(xdcblat1 c_dblat1.f ${DTESTL1O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
add_executable(xdcblat2 c_dblat2.f ${DTESTL2O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
add_executable(xdcblat3 c_dblat3.f ${DTESTL3O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
-
+
target_link_libraries(xdcblat1 cblas ${BLAS_LIBRARIES})
target_link_libraries(xdcblat2 cblas ${BLAS_LIBRARIES})
target_link_libraries(xdcblat3 cblas ${BLAS_LIBRARIES})
-
+
add_cblas_test(dtest1.out "" xdcblat1)
add_cblas_test(dtest2.out din2 xdcblat2)
add_cblas_test(dtest3.out din3 xdcblat3)
@@ -85,11 +85,11 @@ if(BUILD_COMPLEX)
add_executable(xccblat1 c_cblat1.f ${CTESTL1O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
add_executable(xccblat2 c_cblat2.f ${CTESTL2O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
add_executable(xccblat3 c_cblat3.f ${CTESTL3O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
-
+
target_link_libraries(xccblat1 cblas ${BLAS_LIBRARIES})
target_link_libraries(xccblat2 cblas ${BLAS_LIBRARIES})
target_link_libraries(xccblat3 cblas ${BLAS_LIBRARIES})
-
+
add_cblas_test(ctest1.out "" xccblat1)
add_cblas_test(ctest2.out cin2 xccblat2)
add_cblas_test(ctest3.out cin3 xccblat3)
@@ -101,11 +101,11 @@ if(BUILD_COMPLEX16)
add_executable(xzcblat1 c_zblat1.f ${ZTESTL1O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
add_executable(xzcblat2 c_zblat2.f ${ZTESTL2O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
add_executable(xzcblat3 c_zblat3.f ${ZTESTL3O} ${LAPACK_BINARY_DIR}/include/cblas_test.h)
-
+
target_link_libraries(xzcblat1 cblas ${BLAS_LIBRARIES})
target_link_libraries(xzcblat2 cblas ${BLAS_LIBRARIES})
target_link_libraries(xzcblat3 cblas ${BLAS_LIBRARIES})
-
+
add_cblas_test(ztest1.out "" xzcblat1)
add_cblas_test(ztest2.out zin2 xzcblat2)
add_cblas_test(ztest3.out zin3 xzcblat3)