Commit 4d0f35d
committed
Don't depend on
This is important because CSL_jll loads in many other libraries that we
may or may not care that much about, such as `libstdc++` and
`libgomp`.
We load `libstdc++` eagerly on Linux, so that will already be loaded in
all cases that we care about, however on macOS we don't generally want
that loaded, and this suppresses that.
`libgomp` is needed by BB-provided software that uses OpenMP during
compilation, however it can conflict with software compiled by the Intel
compilers, such as `MKL`. It's best to allow MKL to load its OpenMP
libraries first, so delaying loading `libgomp` until someone actually
calls `using CompilerSupportLibraries_jll` is the right thing to do.
In the future, we want to rework JLLs such that libraries aren't eagerly
loaded at JLL `__init__()` time, but rather they should be JIT loaded
upon first usage of the library handle itself. This would allow BB to
emit much more fine-grained dependency structures, so that the
distribution of a set of libraries can happen together, but the loading
of said libraries would be independent.CompilerSupportLibraries_jll from OpenBLAS_jll
1 parent c55000a commit 4d0f35d
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
6 | 16 | | |
7 | 17 | | |
8 | 18 | | |
| |||
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
| 38 | + | |
28 | 39 | | |
29 | 40 | | |
| 41 | + | |
30 | 42 | | |
31 | 43 | | |
| 44 | + | |
32 | 45 | | |
33 | 46 | | |
34 | 47 | | |
| |||
50 | 63 | | |
51 | 64 | | |
52 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
53 | 70 | | |
54 | 71 | | |
55 | 72 | | |
| |||
0 commit comments