diff options
author | Seth R Johnson <johnsonsr@ornl.gov> | 2021-07-13 22:14:10 (GMT) |
---|---|---|
committer | Seth R Johnson <johnsonsr@ornl.gov> | 2021-07-14 14:59:59 (GMT) |
commit | fc54e68c053436c22c4c17a3c265f59974852179 (patch) | |
tree | 35b855fa5745285729b1ee1f25b8168250249eb8 /Modules/FindBLAS.cmake | |
parent | 460e812369db398da34e14c9d40c3ecec06afaf1 (diff) | |
download | CMake-fc54e68c053436c22c4c17a3c265f59974852179.zip CMake-fc54e68c053436c22c4c17a3c265f59974852179.tar.gz CMake-fc54e68c053436c22c4c17a3c265f59974852179.tar.bz2 |
Find{BLAS,LAPACK}: improve found message on Cray
With Cray compiler wrappers (implicitly tested on OLCF Spock) the
BLAS and LAPACK libraries are automatically linked as necessary through
the wrapper script and programming environment. With this change, the
configure output is:
```
-- Found BLAS: implicitly linked
<snip>
-- Found LAPACK: implicitly linked
```
rather than
```
-- Found BLAS: 1
<snip>
-- Found LAPACK: LAPACK_LIBRARIES-PLACEHOLDER-FOR-EMPTY-LIBRARIES
```
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r-- | Modules/FindBLAS.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 726ff75..a6fd2c9 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -386,6 +386,8 @@ if(BLA_VENDOR STREQUAL "All") ) endif() if(BLAS_WORKS) + # Give a more helpful "found" message + set(BLAS_WORKS "implicitly linked") set(_blas_fphsa_req_var BLAS_WORKS) endif() endif() |