Skip to content

Install pkg-config files - #1084

Merged
martin-frbg merged 1 commit into
OpenMathLib:developfrom
isuruf:develop
Feb 8, 2017
Merged

martin-frbg merged 1 commit into
OpenMathLib:developfrom
isuruf:develop

Conversation

@isuruf

@isuruf isuruf commented Feb 6, 2017

Copy link
Copy Markdown
Contributor

Fixes #598

@isuruf

isuruf commented Feb 8, 2017

Copy link
Copy Markdown
Contributor Author

Thanks

@IvanUkhov

IvanUkhov commented Feb 8, 2017 •

Copy link
Copy Markdown
Contributor

@isuruf, thank you for this work! I’m curious why the installed pkg-config files are blas.pc, cblas.pc, and lapack.pc, not openblas.pc. Will pkg-config be able to find the library by the name openblas as well? If not, perhaps openblas.pc should also be provided. What do you think?

@isuruf

isuruf commented Feb 8, 2017

Copy link
Copy Markdown
Contributor Author

I used the names netlib uses so that when openblas is installed, it can provide blas, cblas and lapack as the default implementation. You are correct that openblas will not be found. openblas.pc can be provided. Do you think we should remove blas.pc, etc and keep only openblas.pc?

@IvanUkhov

Copy link
Copy Markdown
Contributor

In my opinion, openblas.pc is essential; the rest are optional. It’s the library called openblas that we’re installing, not something else, and, therefore, there should be a pkg-config file for this very library. Otherwise, there’ll be no natural way to test the availability of and link to specifically OpenBLAS instead of some arbitrary BLAS/LAPACK provider.

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.

3 participants