julia
0d363a83 - Initial implementation of lazy JLLs for LinearAlgebra (#57719)

Commit
1 year ago
Initial implementation of lazy JLLs for LinearAlgebra (#57719) This alters CompilerSupportLibraries_jll, OpenBLAS_jll and libblastrampoline_jll to use `LazyLibrary` objects and thereby be loaded only upon first `dlopen()` or `ccall()` to the individual library objects. Note that this is one of the more complicated cases, as `libblastrampoline` must have OpenBLAS_jll added as a dynamic dependency (as it does not actually have it listed in its shared object headers) and also has some on-load callbacks that must be invoked. Long-term, I would like to replace the bespoke JLLs here with actual JLL source code, and vendor a version of `LazyJLLWrappers` in-tree to do the actual code generation even for Base. That is left as future work. [0] https://github.com/JuliaLang/LinearAlgebra.jl/pull/1235
Author
Loading