* Update make.inc entries for LAPACK 3.9.0 Reference-LAPACK PR 347 changed some variable names and relative paths * Update LAPACK to 3.9.0 * Add new functions from LAPACK 3.9.0 * Add new functions from LAPACK 3.9.0 * Restore LOADER command as it makes it easier to specify pthread as needed * Restore LOADER * Restore EIG/LIN prefixes in cmdbase * add binary path to lapack_testing.py call * Restore OpenMP version check * Restore OpenMP version check * Restore fix for out-of-bounds array accesses from #2096
20 lines
758 B
CMake
20 lines
758 B
CMake
# Compute locations from <prefix>/lib/cmake/lapack-<v>/<self>.cmake
|
|
get_filename_component(_LAPACK_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
|
|
# Load lapack targets from the install tree if necessary.
|
|
set(_LAPACK_TARGET "@_lapack_config_install_guard_target@")
|
|
if(_LAPACK_TARGET AND NOT TARGET "${_LAPACK_TARGET}")
|
|
include("${_LAPACK_SELF_DIR}/lapack-targets.cmake")
|
|
endif()
|
|
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.
|
|
set(LAPACK_blas_LIBRARIES "@BLAS_LIBRARIES@")
|
|
set(LAPACK_lapack_LIBRARIES "@LAPACK_LIBRARIES@")
|
|
set(LAPACK_LIBRARIES ${LAPACK_blas_LIBRARIES} ${LAPACK_lapack_LIBRARIES})
|
|
|
|
unset(_LAPACK_SELF_DIR)
|