Commit f8511a4
authored
ci(chapel): unblock Compile Chapel Metalayer + Build & Test Zig FFI Bridge (#131)
## Summary
Fixes two pre-existing, independent breakages that have kept `Chapel
Accelerator CI` red on every run since it was first authored
(2026-04-20, commit e44815a) — zero successes in the 100-run history.
| Job | Symptom | Root cause | Fix |
|---|---|---|---|
| `Compile Chapel Metalayer` | `chapel_ffi_exports.chpl:29: syntax
error: near '{'` (cascading into parallel_proof_search.chpl) | `extern
\"C\" { ... }` is Chapel's "extern blocks" feature, requiring Chapel
built with LLVM + clang headers. The official
`chapel-2.3.0-1.ubuntu24.amd64.deb` is not. | Drop the wrapper. The 35
prover-id / category-id `c_int` constants are also `#define`d in
`src/zig_ffi/chapel_ffi_exports.h` — that's the canonical source for any
non-Chapel consumer. The Chapel copies only need module-level scope. |
| `Build & Test Zig FFI Bridge` | `build.zig:23: no field or member
function named 'addLibrary' in 'Build'` | `build.zig` line 1 declares
"Compatible with Zig 0.14+/0.15+" and uses the unified
`Build.addLibrary` API. Workflow pinned `mlugg/setup-zig@… with:
version: 0.13.0`. | Bump the two `version: 0.13.0` lines in
chapel-ci.yml to `0.14.0` (matches what build.zig declares). |
## Test plan
- [ ] CI: `Compile Chapel Metalayer` returns success on this branch.
- [ ] CI: `Build & Test Zig FFI Bridge` returns success on this branch.
- [ ] CI: `Rust Build with Chapel Feature` (Job 3) actually runs (was
previously skipped because Job 2 failed).
## Note on scope
None of these are required checks; this PR doesn't unblock anything
blocking the merge queue. It makes Chapel L2.1 actually CI-verifiable
for the first time — `handover/TODO.md`'s "L2.1 ✅ Done" status was based
on local builds only.
Surfaced during the 2026-05-30 dependabot-deadlock triage (alongside PR
#128 + PR #130).1 parent f8c6955 commit f8511a4
2 files changed
Lines changed: 59 additions & 53 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
0 commit comments