From aae580dbdbaf23db0da23b8c671ba7bfd67b0d03 Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Fri, 28 Jul 2023 14:57:30 +0530 Subject: [PATCH] Update `liblapack_name` to the one from `LinearAlgebra.BLAS` (#50) * Update liblapack_name to the one from LinearAlgebra.BLAS * Bump version to v0.5.4 * import LinearAlgebra --- Project.toml | 2 +- src/lapack.jl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 98d5dd1..9e8aa18 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "LowRankApprox" uuid = "898213cb-b102-5a47-900c-97e73b919f73" -version = "0.5.3" +version = "0.5.4" [deps] FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" diff --git a/src/lapack.jl b/src/lapack.jl index 405b129..3689301 100644 --- a/src/lapack.jl +++ b/src/lapack.jl @@ -2,10 +2,11 @@ =# module _LAPACK +import LinearAlgebra import LinearAlgebra.BLAS: @blasfunc using LinearAlgebra: BlasFloat, BlasInt, chkstride1 import Base: Nothing -const liblapack = Base.liblapack_name +const liblapack = LinearAlgebra.BLAS.liblapack for (geqrf, gelqf, orgqr, orglq, elty) in ((:sgeqrf_, :sgelqf_, :sorgqr_, :sorglq_, :Float32 ),