diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-02-03 00:56:24 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2017-02-03 00:56:24 -0600 |
commit | db6ff20c43112038cc901c605e02b4011dbe433d (patch) | |
tree | 6c7aed4afd163f1ba54acb4da53fe902dec2351d /SRC | |
parent | c2f0429d7bf15a588f4a2a4e844a7c91212efbfc (diff) | |
download | lapack-db6ff20c43112038cc901c605e02b4011dbe433d.tar.gz lapack-db6ff20c43112038cc901c605e02b4011dbe433d.tar.bz2 lapack-db6ff20c43112038cc901c605e02b4011dbe433d.zip |
Use the BUILD_* option variables for BLAS and CBLAS
Removes duplication and allows error checking to be done in one spot.
Moved most of the status printouts to where the options are defined.
Diffstat (limited to 'SRC')
-rw-r--r-- | SRC/CMakeLists.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/SRC/CMakeLists.txt b/SRC/CMakeLists.txt index a2b84d7e..7d21c0cc 100644 --- a/SRC/CMakeLists.txt +++ b/SRC/CMakeLists.txt @@ -480,7 +480,6 @@ if(BUILD_DEPRECATED) 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 LAPACK deprecated routines") endif() if(USE_XBLAS) @@ -494,27 +493,18 @@ endif() set(SOURCES) if(BUILD_SINGLE) list(APPEND SOURCES ${SLASRC} ${DSLASRC} ${SCLAUX} ${ALLAUX}) - message(STATUS "Building single precision real") endif() if(BUILD_DOUBLE) list(APPEND SOURCES ${DLASRC} ${DSLASRC} ${DZLAUX} ${ALLAUX}) - message(STATUS "Building double precision real") endif() if(BUILD_COMPLEX) list(APPEND SOURCES ${CLASRC} ${ZCLASRC} ${SCLAUX} ${ALLAUX}) - message(STATUS "Building single precision complex") endif() if(BUILD_COMPLEX16) list(APPEND SOURCES ${ZLASRC} ${ZCLASRC} ${DZLAUX} ${ALLAUX}) - message(STATUS "Building double precision complex") endif() list(REMOVE_DUPLICATES SOURCES) -if(NOT SOURCES) - message(FATAL_ERROR "-->LAPACK SRC BUILD: NOTHING TO BUILD, NO PRECISION SELECTED: - PLEASE ENABLE AT LEAST ONE OF THOSE: BUILD_SINGLE, BUILD_COMPLEX, BUILD_DOUBLE, BUILD_COMPLEX16.") -endif() - add_library(lapack ${SOURCES}) set_target_properties( lapack PROPERTIES |