8000 Supply LIBCLANG_PATH for clang-14 for yjit-bindgen · github/ruby@53549b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53549b3

Browse files
XrXrk0kubun
authored andcommitted
Supply LIBCLANG_PATH for clang-14 for yjit-bindgen
Or else it gets confused from all the different versions of LLVM in the image.
1 parent 84e7f67 commit 53549b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/yjit-ubuntu.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
- test_task: 'yjit-bindgen'
8383
hint: 'To fix: use patch in logs'
8484
configure: '--with-gcc=clang-14 --enable-yjit=dev'
85+
libclang_path: '/usr/lib/llvm-14/lib/libclang.so.1'
8586

8687
- test_task: 'check'
8788
# YJIT should be automatically built in release mode on x86-64 Linux with rustc present
@@ -192,6 +193,7 @@ jobs:
192193
PRECHECK_BUNDLED_GEMS: 'no'
193194
SYNTAX_SUGGEST_TIMEOUT: '5'
194195
YJIT_BINDGEN_DIFF_OPTS: '--exit-code'
196+
LIBCLANG_PATH: ${{ matrix.libclang_path }}
195197
continue-on-error: ${{ matrix.continue-on-test_task || false }}
196198

197199
- name: Show ${{ github.event.pull_request.base.ref }} GitHub URL for yjit-bench comparison

0 commit comments

Comments
 (0)
0