Commit ca8adf2
committed
CI: force clang-15 resource dir so generic-linux x86_64 build succeeds
All targets pass now except generic linux x86_64, which kept hitting the
clang-14 emmintrin.h SSE2 bug even with LIBCLANG_PATH pointed at libclang-15.
Reading clang-sys confirmed why: the offending header comes from the clang
*resource directory* (builtin headers), whose resolution is independent of
which libclang shared object loads — so on Ubuntu's split layout bindgen still
picked clang-14's headers. Pin the resource dir to clang-15 via
BINDGEN_EXTRA_CLANG_ARGS=-resource-dir=$(clang-15 -print-resource-dir), which
forces emmintrin.h to the fixed copy. aarch64 and the Bref/macOS legs already
pass and are untouched.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R3vgA3Q6PR9VQn8X5pLcMR1 parent ea718d4 commit ca8adf2
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
57 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
0 commit comments