diff --git a/.DS_Store b/.DS_Store index 39eb63d..1c9a43a 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/src/.DS_Store b/src/.DS_Store index 809021a..9e614cc 100644 Binary files a/src/.DS_Store and b/src/.DS_Store differ diff --git a/src/ProxTV.jl b/src/ProxTV.jl index 7c269c3..615417b 100644 --- a/src/ProxTV.jl +++ b/src/ProxTV.jl @@ -6,9 +6,16 @@ using LinearAlgebra include("libproxtv.jl") # include("gen/wrapper.jl") -config = LinearAlgebra.BLAS.lbt_get_config() -if !any(lib -> lib.interface == :lp64, config.loaded_libs) - LinearAlgebra.BLAS.lbt_forward(OpenBLAS32_jll.libopenblas_path) +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 end +configure_blas() + end