Commit 1b16a39
authored
Fix some issues with llvm source build (#57792)
- The build fails if any runtime is enabled as `LLVM_ENABLE_RUNTIMES`
will start with `;` which it seems to interpret as a runtime whose name
is the empty string.
- When llvm links against libLLVM, this fails as some of the compilers
on CI set a sysroot causing zlib to not be found, see
llvm/llvm-project#131119.
- Also, fix freebsd build by compiling statically linked code with `-fPIC`.1 parent edf7657 commit 1b16a39
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
73 | | - | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
186 | 195 | | |
187 | 196 | | |
188 | 197 | | |
| |||
0 commit comments