Skip to content

Commit 87e0cc7

Browse files
committed
fix(chapel-ci): replace dropped 'chpl --about' with printchplenv
Run #3 cold build completed successfully (~12 min, libchpllaunch.a + modules + cmake module files all generated), then the post-build sanity check failed with: Unrecognized flag: '--about' (use '-h' for help) Chapel 2.8.0 dropped 'chpl --about'. Use the canonical $CHPL_HOME/util/printchplenv --simple invocation instead — it prints KEY=value lines (so the regex anchor changes from ':\s+' to '='). Applied in both 'Build Chapel from source' and 'Activate multilocale Chapel' steps.
1 parent d4bf43e commit 87e0cc7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/chapel-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,9 @@ jobs:
319319
source util/setchplenv.bash
320320
# Build chpl + runtime + GASNet+smp substrate
321321
make -j"$(nproc)"
322-
# Sanity: confirm we have a multilocale chpl
323-
./bin/*/chpl --about | grep -E 'CHPL_COMM:\s+gasnet'
322+
# Sanity: confirm we have a multilocale chpl. Chapel 2.8.0 dropped
323+
# `chpl --about`; use the canonical printchplenv utility instead.
324+
"$CHPL_HOME/util/printchplenv" --simple | grep -E '^CHPL_COMM=gasnet$'
324325
325326
- name: Activate multilocale Chapel
326327
id: activate
@@ -340,7 +341,7 @@ jobs:
340341
echo "PATH=$CHPL_HOME/bin/$(uname -s)-$(uname -m):$PATH"
341342
} >> "$GITHUB_ENV"
342343
chpl --version
343-
chpl --about | grep CHPL_COMM
344+
"$CHPL_HOME/util/printchplenv" --simple | grep -E '^CHPL_COMM=gasnet$'
344345
345346
- name: Build mass-panic against multilocale Chapel
346347
working-directory: chapel

0 commit comments

Comments
 (0)