-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update FindSystemBLAS cmake #509
Conversation
Update how BLAS library is found and set. Provide better message to users if openBLAS is not found. Clearly states that openBLAS is the library used for testing. Signed-off-by: nscipione <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of my comments are not stricly needed because from what I understand portBLAS only uses the blas::blas
and SystemBLAS_*
are ignored outside of this file.
I've made some suggestions to make a bit more sense in this file.
The configuration used to print a generic type of library, change that to message to print library location. Plus minor adjustements. Signed-off-by: nscipione <[email protected]>
Signed-off-by: nscipione <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if find_package(BLAS QUIET)
fails? It looks like this will not produce an error here if a BLAS library can't be found.
It will fail to config because |
This PR updates how BLAS library is found and set for testing.
With this patch cmake provides better messages to users if openBLAS is not found with some warnings and messages.