From 45f879677f454e945095055518e2863317a082eb Mon Sep 17 00:00:00 2001 From: nathanemac <91251698+nathanemac@users.noreply.github.com> Date: Fri, 13 Sep 2024 09:57:04 -0400 Subject: [PATCH] adding LAPACK_jll to fix issue when using TV2D in ProxTV.jl --- .DS_Store | Bin 6148 -> 8196 bytes src/ProxTV.jl | 14 ++++---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.DS_Store b/.DS_Store index 1c9a43a73d2785d02f7039b34a4cf233d3ec5a66..9e1d2948386df818b1d4315f85c4b4e6974a25cd 100644 GIT binary patch delta 143 zcmZoMXmOBWU|?W$DortDU;r^WfEYvza8E20o2aMA$iFdQH}hr%jz7$c**Q2SHn1@A zZ{}fn%{X~KtN7#|w&RocvP$xl1sCPz%-Z~kbs^*CB_avT6B~F0nSnw;Ai)hJ fTtUWe7UcNOJegm_bFx1V2L~g>MuyGtJad=*NmJ03(aAi uSW&W=or6P=8K?>f1h|2OD@en}!tczJ`DHvo+8LN2MuALc*c{I@hZz7gB@)g6 diff --git a/src/ProxTV.jl b/src/ProxTV.jl index 615417b..9363b6b 100644 --- a/src/ProxTV.jl +++ b/src/ProxTV.jl @@ -1,21 +1,15 @@ module ProxTV using OpenBLAS32_jll +using LAPACK_jll using LinearAlgebra # Include wrappers and the main library include("libproxtv.jl") # include("gen/wrapper.jl") -function configure_blas() - config = LinearAlgebra.BLAS.lbt_get_config() - if !any(lib -> lib.interface == :lp64, config.loaded_libs) - @info "No LP64 BLAS found, forwarding to OpenBLAS32_jll" - LinearAlgebra.BLAS.lbt_forward(OpenBLAS32_jll.libopenblas_path) - else - @info "BLAS library is already loaded correctly" - end +config = LinearAlgebra.BLAS.lbt_get_config() +if !any(lib -> lib.interface == :lp64, config.loaded_libs) + LinearAlgebra.BLAS.lbt_forward(OpenBLAS32_jll.libopenblas_path) end -configure_blas() - end