Skip to content

Commit aa3cf1f

Browse files
authored
Make LBT verbose when LBT_VERBOSE is set. (#51426)
1 parent a03e703 commit aa3cf1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LinearAlgebra.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ end
678678

679679
function __init__()
680680
try
681-
BLAS.lbt_forward(OpenBLAS_jll.libopenblas_path; clear=true)
681+
verbose = parse(Bool, get(ENV, "LBT_VERBOSE", "false"))
682+
BLAS.lbt_forward(OpenBLAS_jll.libopenblas_path; clear=true, verbose)
682683
BLAS.check()
683684
catch ex
684685
Base.showerror_nostdio(ex, "WARNING: Error during initialization of module LinearAlgebra")

0 commit comments

Comments
 (0)