From 8b27a058dae588186a3ecddb9f3bf699c5ea2c81 Mon Sep 17 00:00:00 2001 From: Carlisle Wishard Date: Thu, 13 Oct 2022 12:49:21 -0400 Subject: [PATCH] deleted stuff dealing with LAPACK --- CMakeLists.txt | 4 ---- cmake/Modules/SetUpLAPACK.cmake | 11 ----------- 2 files changed, 15 deletions(-) delete mode 100644 cmake/Modules/SetUpLAPACK.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 4699a11ba..f5f1d4690 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,10 +31,6 @@ INCLUDE(${CMAKE_MODULE_PATH}/SetFortranFlags.cmake) # taken care of here, such as the fact that the FindOpenMP routine doesn't know # about Fortran. INCLUDE(${CMAKE_MODULE_PATH}/SetParallelizationLibrary.cmake) -# Setup the LAPACK libraries. This also takes care of peculiarities, such as -# the fact the searching for MKL requires a C compiler, and that the results -# are not stored in the cache. -INCLUDE(${CMAKE_MODULE_PATH}/SetUpLAPACK.cmake) # There is an error in CMAKE with this flag for pgf90. Unset it GET_FILENAME_COMPONENT(FCNAME ${CMAKE_Fortran_COMPILER} NAME) diff --git a/cmake/Modules/SetUpLAPACK.cmake b/cmake/Modules/SetUpLAPACK.cmake deleted file mode 100644 index ae5bdea52..000000000 --- a/cmake/Modules/SetUpLAPACK.cmake +++ /dev/null @@ -1,11 +0,0 @@ -# Find LAPACK (finds BLAS also) if not already found -IF(NOT LAPACK_FOUND) - ENABLE_LANGUAGE(C) # Some libraries need a C compiler to find - FIND_PACKAGE(LAPACK REQUIRED) - # Remember that LAPACK (and BLAS) was found. For some reason the - # FindLAPACK routine doesn't place these into the CACHE. - SET(BLAS_FOUND TRUE CACHE INTERNAL "BLAS was found" FORCE) - SET(LAPACK_FOUND TRUE CACHE INTERNAL "LAPACK was found" FORCE) - SET(BLAS_LIBRARIES ${BLAS_LIBRARIES} CACHE INTERNAL "BLAS LIBS" FORCE) - SET(LAPACK_LIBRARIES ${LAPACK_LIBRARIES} CACHE INTERNAL "LAPACK LIBS" FORCE) -ENDIF(NOT LAPACK_FOUND)