Commit c5606c5
authored
[fix](thirdparty) add Thrift_VERSION fallback in paimon-cpp arrow patch (#60711)
## Summary
- update `thirdparty/patches/paimon-cpp-buildutils-static-deps.patch`
- add `Thrift_VERSION` fallback resolution in the embedded
`cmake_modules/arrow.diff` hunk
- keep a clear fatal error when no thrift version source is available
## Why
On different environments, thrift version metadata may be exposed via
different variables (`thrift_PC_VERSION`, `ThriftAlt_VERSION`, or
`THRIFT_VERSION`).
Without fallback, `Thrift_VERSION` can be empty and break Arrow
configure.
## Testing
- rebuilt thirdparty package: `bash thirdparty/build-thirdparty.sh
paimon_cpp`
- build completed successfully (`Finished to build all thirdparties`)1 parent e13d314 commit c5606c5
1 file changed
+33
-0
lines changedLines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
0 commit comments