Commit 1e074af
committed
fix(llvm-21): rename FortranCommon→FortranSupport, move runtime to flang-rt
LLVM 21 reorganized Flang:
- flang/lib/Common → flang/lib/Support (lib FortranCommon → FortranSupport)
- flang/runtime → flang-rt subproject (built via LLVM_ENABLE_RUNTIMES)
Add LLVM_VER >= 21 branch to LLVM_RUNTIMES (adds flang-rt) and to
FLANG_TARGETS (uses install-FortranSupport, drops install-FortranRuntime
since install-runtimes aggregate now handles flang-rt).
Backwards compatible: LLVM 20 path unchanged.
Verified all 27 explicit ninja targets resolve in LLVM 21 via configure-only
probe build (cmake -GNinja, then ninja -t query for each target).1 parent f913a5c commit 1e074af
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
147 | 151 | | |
148 | 152 | | |
149 | 153 | | |
150 | | - | |
151 | | - | |
| 154 | + | |
| 155 | + | |
152 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
153 | 164 | | |
154 | 165 | | |
155 | 166 | | |
| |||
0 commit comments