Commit 78c07fe
committed
fix(chapel-ci): verify multilocale via runtime dir, not printchplenv
Run #4 progressed past Build (Chapel 2.8.0 + bundled LLVM support
compiled in ~12 min, libchpllaunch.a + modules + cmake module files
all generated). Failed in Activate when:
"$CHPL_HOME/util/printchplenv" --simple | grep -E '^CHPL_COMM=gasnet$'
emitted zero output then exit 1 (presumably printchplenv --simple uses
a different output format than KEY=value, or it ran into a chplenv
caching issue).
Switch to a format-independent check: Chapel's runtime layout names
$CHPL_HOME/lib/<plat>/gnu/<arch>/loc-flat/comm-gasnet/smp/<tasks>/launch-smp/
per (comm, launcher, ...) variant. Existence of comm-gasnet/smp/.../launch-smp
proves the runtime was built with our CHPL_COMM+CHPL_LAUNCHER settings —
no chpl-flag-version dependence, no parsing format risk.1 parent 87e0cc7 commit 78c07fe
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | | - | |
324 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
| |||
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
344 | | - | |
| 346 | + | |
345 | 347 | | |
346 | 348 | | |
347 | 349 | | |
| |||
0 commit comments