Browse Source

Disable fallback to C_LAPACK for MSVC (needs fixes for complex)

pull/3539/head
Martin Kroeker GitHub 4 years ago
parent
commit
ba8995ea4e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 8 deletions
  1. +11
    -8
      cmake/f_check.cmake

+ 11
- 8
cmake/f_check.cmake View File

@@ -25,16 +25,19 @@ check_language(Fortran)
if(CMAKE_Fortran_COMPILER)
enable_language(Fortran)
else()
set (NOFORTRAN 1)
if (NOT NO_LAPACK)
message(STATUS "No Fortran compiler found, can build only BLAS and f2c-converted LAPACK")
if (NOT MSVC)
message(STATUS "No Fortran compiler found, can build only BLAS and f2c-converted LAPACK")
set(C_LAPACK 1)
if (INTERFACE64)
set (CCOMMON_OPT "${CCOMMON_OPT} -DLAPACK_ILP64")
endif ()
set(TIMER "NONE")
else ()
message(STATUS "No Fortran compiler found, can build only BLAS")
endif()
endif()
# set (NO_LAPACK 1)
set(C_LAPACK 1)
if (INTERFACE64)
set (CCOMMON_OPT "${CCOMMON_OPT} -DLAPACK_ILP64")
endif ()
set(TIMER "NONE")
set (NOFORTRAN 1)
endif()

if (NOT ONLY_CBLAS)


Loading…
Cancel
Save