summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2025-01-16 21:53:06 -0500
committerHiroshi SHIBATA <[email protected]>2025-01-20 10:15:08 +0900
commitaf81011cb63564e1e146d5ce2b12c3dd8939f01c (patch)
tree15767d0f821133e9c97e100aadd62be3901d1a8e
parentd2ef8861b4c3f9e9c0b4265a6842436f46bed833 (diff)
Supply LIBCLANG_PATH for clang-14 for yjit-bindgen
Or else it gets confused from all the different versions of LLVM in the image.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12589
-rw-r--r--.github/workflows/yjit-ubuntu.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml
index d6b280ba5e..d4f657b665 100644
--- a/.github/workflows/yjit-ubuntu.yml
+++ b/.github/workflows/yjit-ubuntu.yml
@@ -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
@@ -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