Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7c595bca authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add detection of dlascl also when testing lapacke with lapack

parent 5dac8d38
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,9 @@ if (LAPACK_FOUND) ...@@ -131,6 +131,9 @@ if (LAPACK_FOUND)
unset(LAPACKE_WORKS CACHE) unset(LAPACKE_WORKS CACHE)
check_function_exists(LAPACKE_dgeqrf LAPACKE_WORKS) check_function_exists(LAPACKE_dgeqrf LAPACKE_WORKS)
mark_as_advanced(LAPACKE_WORKS) mark_as_advanced(LAPACKE_WORKS)
unset(LAPACKE_WITH_LASCL CACHE)
check_function_exists(LAPACKE_dlascl_work LAPACKE_WITH_LASCL)
mark_as_advanced(LAPACKE_WITH_LASCL)
set(CMAKE_REQUIRED_LIBRARIES) set(CMAKE_REQUIRED_LIBRARIES)
if(LAPACKE_WORKS) if(LAPACKE_WORKS)
...@@ -436,7 +439,7 @@ if (LAPACK_FOUND) ...@@ -436,7 +439,7 @@ if (LAPACK_FOUND)
endif() endif()
mark_as_advanced(LAPACKE_WORKS) mark_as_advanced(LAPACKE_WORKS)
unset(LAPACKE_WITH_LASCL CACHE) unset(LAPACKE_WITH_LASCL CACHE)
check_function_exists(LAPACKE_dlascl LAPACKE_WITH_LASCL) check_function_exists(LAPACKE_dlascl_work LAPACKE_WITH_LASCL)
mark_as_advanced(LAPACKE_WITH_LASCL) mark_as_advanced(LAPACKE_WITH_LASCL)
if(LAPACKE_WORKS) if(LAPACKE_WORKS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment