Skip to content

Commit 746af7e

Browse files
hyperpolymathclaude
andcommitted
ci(chapel): pin runs-on ubuntu-22.04 + apt-get install .deb (5th sharp edge)
Chapel 2.8.0's debian package is `chapel-2.8.0-1.ubuntu22.amd64.deb` and links its compiler driver against libclang-cpp.so.14 (Ubuntu 22.04 LLVM-14 runtime). On Ubuntu 24.04 (= ubuntu-latest) apt resolves the unmet dep with libclang-cpp 18, leaving chpl unable to load: chpl: error while loading shared libraries: libclang-cpp.so.14: cannot open shared object file: No such file or directory exit code 127. Pin runs-on: ubuntu-22.04 at all four chapel-using jobs (chapel-build, zig-ffi, rust-chapel-feature, rust-chapel-real). Also switch `dpkg -i ... || apt-get install -f -y` → `apt-get install -y /tmp/chapel.deb` so apt resolves libclang-cpp14 / libllvm14 declaratively in one pass instead of relying on the post-failure auto-fix path. This is the 5th Chapel-2.8.0 sharp edge — sibling to the four documented in panic-attack's wiki (MANPATH unset, CHPL_LLVM unset, `chpl --about` dropped, `printchplenv --simple` format). Will append to that wiki. Refs #181 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a087aa7 commit 746af7e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/chapel-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
# statically.
5959
chapel-build:
6060
name: Compile Chapel Metalayer
61-
runs-on: ubuntu-latest
61+
runs-on: ubuntu-22.04
6262
steps:
6363
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6464

@@ -74,7 +74,7 @@ jobs:
7474
sudo apt-get install -y libunwind-dev
7575
curl -fsSL --max-time 300 --retry 3 -o /tmp/chapel.deb "$CHAPEL_DEB_URL"
7676
echo "$CHAPEL_DEB_SHA256 /tmp/chapel.deb" | sha256sum --check
77-
sudo dpkg -i /tmp/chapel.deb || sudo apt-get install -f -y
77+
sudo apt-get install -y /tmp/chapel.deb
7878
chpl --version
7979
8080
- name: Compile Chapel proof search library (static)
@@ -109,7 +109,7 @@ jobs:
109109
# `src/zig_ffi/build.zig`.
110110
zig-ffi:
111111
name: Build & Test Zig FFI Bridge
112-
runs-on: ubuntu-latest
112+
runs-on: ubuntu-22.04
113113
steps:
114114
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
115115

@@ -137,7 +137,7 @@ jobs:
137137
# Re-enable strict gating once #133's Chapel + FFI rehabilitation lands.
138138
rust-chapel-feature:
139139
name: Rust Build with Chapel Feature
140-
runs-on: ubuntu-latest
140+
runs-on: ubuntu-22.04
141141
needs: zig-ffi
142142
continue-on-error: true
143143
steps:
@@ -175,7 +175,7 @@ jobs:
175175
# and flip this job to strict.
176176
rust-chapel-real:
177177
name: Rust Build — Real Chapel Library (allow-fail, L2.3+ gate)
178-
runs-on: ubuntu-latest
178+
runs-on: ubuntu-22.04
179179
needs: [chapel-build, zig-ffi]
180180
continue-on-error: true
181181
steps:
@@ -188,7 +188,7 @@ jobs:
188188
sudo apt-get install -y libunwind-dev
189189
curl -fsSL --max-time 300 --retry 3 -o /tmp/chapel.deb "$CHAPEL_DEB_URL"
190190
echo "$CHAPEL_DEB_SHA256 /tmp/chapel.deb" | sha256sum --check
191-
sudo dpkg -i /tmp/chapel.deb || sudo apt-get install -f -y
191+
sudo apt-get install -y /tmp/chapel.deb
192192
chpl --version
193193
194194
- name: Install Zig

0 commit comments

Comments
 (0)