Skip to content

Commit

Permalink
Supply LIBCLANG_PATH for clang-14 for yjit-bindgen
Browse files Browse the repository at this point in the history
Or else it gets confused from all the different versions of LLVM in the
image.
  • Loading branch information
XrXr authored and hsbt committed Jan 20, 2025
1 parent d2ef886 commit af81011
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/yjit-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
- test_task: 'yjit-bindgen'
hint: 'To fix: use patch in logs'
configure: '--with-gcc=clang-14 --enable-yjit=dev'
libclang_path: '/usr/lib/llvm-14/lib/libclang.so.1'

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

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

0 comments on commit af81011

Please sign in to comment.