Skip to content
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

[LinearAlgebra] Correct liblapack binding #40170

Merged
merged 3 commits into from
Mar 25, 2021

Conversation

lkapelevich
Copy link
Contributor

addresses #39845 (comment)

@fredrikekre fredrikekre added the backport 1.6 Change should be backported to release-1.6 label Mar 24, 2021
@fredrikekre
Copy link
Member

fredrikekre commented Mar 24, 2021

liblapack was defined in LinearAlgebra.BLAS too:

const libblas = Base.libblas_name
const liblapack = Base.liblapack_name

, so I think that one should be kept and you should only add the binding to LinearAlgebra.LAPACK:
const liblapack = Base.liblapack_name

@ViralBShah ViralBShah added the linear algebra Linear algebra label Mar 24, 2021
@ViralBShah
Copy link
Member

ViralBShah commented Mar 24, 2021

@fredrikekre I suppose ideally we should remove the liblapack from LinearAlgebra.BLAS, but are we retaining it because things might depend on it?

@fredrikekre
Copy link
Member

Yes, I thought that was the point of #39845.

@ViralBShah
Copy link
Member

Yes, I thought that was the point of #39845.

Yes, that is right. I just looked, and we do have liblapack currently defined in blas.jl on release-1.6. I am guessing it would be ok to move it to the LAPACK module and most likely will lead to very little breakage. Most packages care about BLAS and overriding it and much less so with LAPACK.

What do you think about having only libblas in blas.jl, and liblapack in lapack.jl - and then running the pkgeval to see how breaking it is?

@fredrikekre
Copy link
Member

Sure, but costs nothing to keep them. Doesn't even seem like they had to be renamed in the first place.

@ViralBShah ViralBShah merged commit 65e1348 into JuliaLang:master Mar 25, 2021
KristofferC pushed a commit that referenced this pull request Mar 26, 2021
* [LinearAlgebra] Correct  binding

* fix English

* bring liblapack back into BLAS module

(cherry picked from commit 65e1348)
@KristofferC KristofferC mentioned this pull request Mar 26, 2021
33 tasks
@KristofferC
Copy link
Member

I don't think this is relevant for 1.6?

@fredrikekre fredrikekre removed the backport 1.6 Change should be backported to release-1.6 label Mar 26, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
* [LinearAlgebra] Correct  binding

* fix English

* bring liblapack back into BLAS module
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
* [LinearAlgebra] Correct  binding

* fix English

* bring liblapack back into BLAS module
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
* [LinearAlgebra] Correct  binding

* fix English

* bring liblapack back into BLAS module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants