Commit 9b579c9
committed
Build py3.15 wheels against the manylinux python.org interpreter (not conda)
The cp315 segfault is a CPython 3.15 *alpha* ABI skew: torch nightly
cp315 wheels are built with the python.org /opt/python/cp315-cp315
interpreter, but the build env installed python=3.15.0a8 from conda-forge,
whose ABI doesn't match -> 'import torch' segfaults in module init.
For 3.15/3.15t, skip conda and build against /opt/python/cp315-cp315[t]
(the interpreter that produced the torch wheels). pkg-helpers already
prepends that interpreter's bin to PATH, so setting CONDA_RUN='' makes the
whole build/smoke-test use it. Build tooling (cmake/ninja/wheel) is pip
installed; libpng/libjpeg/libwebp/pkg-config come from the manylinux image.
Other versions keep the conda path unchanged.1 parent e1c24f7 commit 9b579c9
1 file changed
Lines changed: 34 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
132 | 166 | | |
133 | 167 | | |
134 | 168 | | |
135 | 169 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | 170 | | |
149 | 171 | | |
150 | 172 | | |
| |||
0 commit comments