Skip to content

Conversation

@marbre
Copy link
Contributor

@marbre marbre commented Sep 8, 2015

I adjusted FindLAPACKE.cmake to use PkgConf to find lapacke. The problem with the current implementation on Gentoo is that the libraries are not named liblapacke and liblapack. On Gentoo the name of the library depends on the installed package, allowing to install multiple lapack packages side-by-side. To show the differences I quote from the *.pc files:

lapacke-reference

Libs: -L/usr/lib64 -lreflapacke

lapack-reference

Libs: -L/usr/lib64 -lrefblas

atlas

Libs: -L${libdir} -lptlapack 
Libs.private: -L${libdir} -latlas -lm -lpthread

Please let me know if there is anything to improve this patch.

@marbre
Copy link
Contributor Author

marbre commented Sep 8, 2015

Redone against hotfixes branch as PT #991.

@marbre marbre closed this Sep 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant