Update LAPACK to 3.9.0

This commit is contained in:
Martin Kroeker 2019-12-29 18:42:28 +01:00 committed by GitHub
parent 30b85c589d
commit 6f80842908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# This module checks against various known compilers and thier respective # This module checks against various known compilers and their respective
# flags to determine any specific flags needing to be set. # flags to determine any specific flags needing to be set.
# #
# 1. If FPE traps are enabled either abort or disable them # 1. If FPE traps are enabled either abort or disable them

View File

@ -20,7 +20,7 @@ set(CMAKE_REQUIRED_QUIET ${codecov_FIND_QUIETLY})
get_property(ENABLED_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES) get_property(ENABLED_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES)
foreach (LANG ${ENABLED_LANGUAGES}) foreach (LANG ${ENABLED_LANGUAGES})
# Gcov evaluation is dependend on the used compiler. Check gcov support for # Gcov evaluation is dependent on the used compiler. Check gcov support for
# each compiler that is used. If gcov binary was already found for this # each compiler that is used. If gcov binary was already found for this
# compiler, do not try to find it again. # compiler, do not try to find it again.
if(NOT GCOV_${CMAKE_${LANG}_COMPILER_ID}_BIN) if(NOT GCOV_${CMAKE_${LANG}_COMPILER_ID}_BIN)

View File

@ -42,7 +42,7 @@ set(CMAKE_REQUIRED_QUIET ${codecov_FIND_QUIETLY})
get_property(ENABLED_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES) get_property(ENABLED_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES)
foreach (LANG ${ENABLED_LANGUAGES}) foreach (LANG ${ENABLED_LANGUAGES})
# Coverage flags are not dependend on language, but the used compiler. So # Coverage flags are not dependent on language, but the used compiler. So
# instead of searching flags foreach language, search flags foreach compiler # instead of searching flags foreach language, search flags foreach compiler
# used. # used.
set(COMPILER ${CMAKE_${LANG}_COMPILER_ID}) set(COMPILER ${CMAKE_${LANG}_COMPILER_ID})

View File

@ -24,7 +24,7 @@ message(STATUS "=========")
set(F77_OUTPUT_EXE "/Fe" CACHE INTERNAL set(F77_OUTPUT_EXE "/Fe" CACHE INTERNAL
"Fortran compiler option for setting executable file name.") "Fortran compiler option for setting executable file name.")
else() else()
# in other case, let user specify their fortran configrations. # in other case, let user specify their fortran configurations.
set(F77_OPTION_COMPILE "-c" CACHE STRING set(F77_OPTION_COMPILE "-c" CACHE STRING
"Fortran compiler option for compiling without linking.") "Fortran compiler option for compiling without linking.")
set(F77_OUTPUT_OBJ "-o" CACHE STRING set(F77_OUTPUT_OBJ "-o" CACHE STRING

View File

@ -5,6 +5,10 @@ if(_LAPACK_TARGET AND NOT TARGET "${_LAPACK_TARGET}")
endif() endif()
unset(_LAPACK_TARGET) unset(_LAPACK_TARGET)
# Hint for project building against lapack
set(LAPACK_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@")
# Report the blas and lapack raw or imported libraries. # Report the blas and lapack raw or imported libraries.
set(LAPACK_blas_LIBRARIES "@BLAS_LIBRARIES@") set(LAPACK_blas_LIBRARIES "@BLAS_LIBRARIES@")
set(LAPACK_lapack_LIBRARIES "@LAPACK_LIBRARIES@") set(LAPACK_lapack_LIBRARIES "@LAPACK_LIBRARIES@")
set(LAPACK_LIBRARIES ${LAPACK_blas_LIBRARIES} ${LAPACK_lapack_LIBRARIES})

View File

@ -8,8 +8,12 @@ if(_LAPACK_TARGET AND NOT TARGET "${_LAPACK_TARGET}")
endif() endif()
unset(_LAPACK_TARGET) unset(_LAPACK_TARGET)
# Hint for project building against lapack
set(LAPACK_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@")
# Report the blas and lapack raw or imported libraries. # Report the blas and lapack raw or imported libraries.
set(LAPACK_blas_LIBRARIES "@BLAS_LIBRARIES@") set(LAPACK_blas_LIBRARIES "@BLAS_LIBRARIES@")
set(LAPACK_lapack_LIBRARIES "@LAPACK_LIBRARIES@") set(LAPACK_lapack_LIBRARIES "@LAPACK_LIBRARIES@")
set(LAPACK_LIBRARIES ${LAPACK_blas_LIBRARIES} ${LAPACK_lapack_LIBRARIES})
unset(_LAPACK_SELF_DIR) unset(_LAPACK_SELF_DIR)