Commit b467fb3
committed
Fix segfault in recent wheel builds
The 0.2.1 tag introduced ceres-solver + Eigen + GLOG into the
compiled dependencies and into the wheel building scripts. The
resulting wheels, when installed into a conda environment,
triggered a segfault inside the conda-forge glog package. I am
not sure the cause of this, since the glog library vendored in
the so3g wheels should have its name modified to avoid such
conflicts.
This work changes the compilation inside the wheels to build
and link static versions of glog and ceres-solver. I tested
a locally-built (which cibuildwheel) wheel and verified that
the segfault is now gone and that sotodlib master branch unit
tests pass using this so3g wheel.1 parent 17ffe9b commit b467fb3
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
| |||
249 | 252 | | |
250 | 253 | | |
251 | 254 | | |
252 | | - | |
| 255 | + | |
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
| |||
287 | 290 | | |
288 | 291 | | |
289 | 292 | | |
290 | | - | |
| 293 | + | |
291 | 294 | | |
292 | 295 | | |
293 | 296 | | |
| |||
0 commit comments