Commit c607d7d
llvm: fix llvm-config
`llvm-config` relies on a versioned `libLLVM` (e.g. `libLLVM-12`), but
their build system does not install one for some reason.
With the symlink:
❯ llvm-config --libs
-lLLVM-12
Without:
❯ llvm-config --libs
-lLLVMWindowsManifest -lLLVMXRay -lLLVMLibDriver -lLLVMDlltoolDriver ... -lLLVMRemarks -lLLVMBitstreamReader -lLLVMBinaryFormat -lLLVMTableGen -lLLVMSupport -lLLVMDemangle
This deviates from the intended behaviour, as seen on Linux, where
`llvm-config --libs` returns the output shown above with the symlink.
Attempting to link against the libraries shown by `llvm-config` without
this fix is also leads to build failures due to missing symbols.
This will also allow Julia to use brewed `llvm` instead of a vendored
one. (#76527)
Closes #76798.
Closes #76646.
Signed-off-by: Mike McQuaid <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>1 parent e1bbe44 commit c607d7d
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
| |||
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
| |||
0 commit comments