Skip to content

Commit e7b8b01

Browse files
committed
More JIT fixes (keep llvm.sh)
1 parent e66c7eb commit e7b8b01

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/jit.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,12 @@ jobs:
138138
- true
139139
- false
140140
include:
141+
# https://apt.llvm.org/llvm.sh doesn't support LLVM 19
142+
# on Ubuntu 26.04, so stick to Ubuntu 24.04 until LLVM is upgraded.
141143
- target: x86_64-unknown-linux-gnu/gcc
142-
runner: ubuntu-26.04
144+
runner: ubuntu-24.04
143145
- target: aarch64-unknown-linux-gnu/gcc
144-
runner: ubuntu-26.04-arm
146+
runner: ubuntu-24.04-arm
145147
steps:
146148
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
147149
with:
@@ -151,7 +153,8 @@ jobs:
151153
python-version: '3.11'
152154
- name: Build
153155
run: |
154-
# On ubuntu-26.04 image, clang is clang-21 by default
156+
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ env.LLVM_VERSION }}
157+
export PATH="$(llvm-config-${{ env.LLVM_VERSION }} --bindir):$PATH"
155158
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '' }}
156159
make all --jobs 4
157160
- name: Test

0 commit comments

Comments
 (0)