Commit 96ca502
fix(chapel-ci): pin CHPL_TARGET_CPU=none to match prebuilt runtime tuple
After bypassing the --no-codegen-specific ChapelSysCTypes lookup bug
in the previous commit, the real chpl link surfaced the next layer:
error: The runtime has not been built for this configuration.
Run $CHPL_HOME/util/chplenv/printchplbuilds.py for information on
available runtimes.
The chapel/2.3.0 .deb ships a runtime built for exactly one target
tuple:
linux64/llvm/x86_64/cpu-none/loc-flat/comm-none/tasks-qthreads/...
chpl's host-CPU auto-probe defaults to `native`, which does not
match `cpu-none` and so chpl bails before the link.
Source fix: pin the four CHPL_TARGET_* variables to the tuple the
.deb actually ships with. Applied to all 4 Chapel install steps
(chapel-build / chapel-smoke / chapel-tests / chapel-detachable-build)
so the env is uniform across the workflow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent daec640 commit 96ca502
1 file changed
Lines changed: 34 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
174 | 176 | | |
175 | | - | |
176 | | - | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
183 | 189 | | |
184 | 190 | | |
185 | 191 | | |
| |||
276 | 282 | | |
277 | 283 | | |
278 | 284 | | |
279 | | - | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
280 | 292 | | |
281 | 293 | | |
282 | 294 | | |
| |||
333 | 345 | | |
334 | 346 | | |
335 | 347 | | |
336 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
337 | 355 | | |
338 | 356 | | |
339 | 357 | | |
| |||
402 | 420 | | |
403 | 421 | | |
404 | 422 | | |
405 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
406 | 430 | | |
407 | 431 | | |
408 | 432 | | |
| |||
0 commit comments