Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/LinearAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,8 @@ function lbt_openblas_onload_callback()
end
BLAS.lbt_set_num_threads(nthreads)
end

return nothing
end

function __init__()
Expand All @@ -849,4 +851,7 @@ function __init__()
libblastrampoline_jll.add_dependency!(OpenBLAS_jll, libopenblas, lbt_openblas_onload_callback)
end

# Register eagerly, so that LinearAlgebra is available for sysimage builds (incl. `--trim`)
libblastrampoline_jll.add_dependency!(OpenBLAS_jll, libopenblas, lbt_openblas_onload_callback)

end # module LinearAlgebra