Skip to content

Commit b37d3d8

Browse files
committed
fix: correct llvm-sys found issue
1 parent 9f25934 commit b37d3d8

1 file changed

Lines changed: 12 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,19 @@ jobs:
3131
name: Clippy
3232
runs-on: ubuntu-latest
3333
timeout-minutes: 30
34+
env:
35+
LLVM_SYS_181_PREFIX: /usr/lib/llvm-18
3436
steps:
3537
- uses: actions/checkout@v4
3638
with:
3739
submodules: recursive
3840

39-
- name: Install LLVM 18
40-
uses: KyleMayes/install-llvm-action@v2
41-
with:
42-
version: "18"
43-
44-
- name: Install Polly library
41+
- name: Install LLVM 18 and Polly
4542
run: |
4643
wget https://apt.llvm.org/llvm.sh
4744
chmod +x llvm.sh
4845
sudo ./llvm.sh 18
49-
sudo apt-get install -y libpolly-18-dev
46+
sudo apt-get install -y llvm-18-dev libpolly-18-dev
5047
5148
- name: Install Rust toolchain
5249
uses: dtolnay/rust-toolchain@1.88.0
@@ -84,22 +81,19 @@ jobs:
8481
name: Test Suite
8582
runs-on: ubuntu-latest
8683
timeout-minutes: 30
84+
env:
85+
LLVM_SYS_181_PREFIX: /usr/lib/llvm-18
8786
steps:
8887
- uses: actions/checkout@v4
8988
with:
9089
submodules: recursive
9190

92-
- name: Install LLVM 18
93-
uses: KyleMayes/install-llvm-action@v2
94-
with:
95-
version: "18"
96-
97-
- name: Install Polly library
91+
- name: Install LLVM 18 and Polly
9892
run: |
9993
wget https://apt.llvm.org/llvm.sh
10094
chmod +x llvm.sh
10195
sudo ./llvm.sh 18
102-
sudo apt-get install -y libpolly-18-dev
96+
sudo apt-get install -y llvm-18-dev libpolly-18-dev
10397
10498
- name: Install Rust toolchain
10599
uses: dtolnay/rust-toolchain@1.88.0
@@ -140,22 +134,19 @@ jobs:
140134
name: Build
141135
runs-on: ubuntu-latest
142136
timeout-minutes: 30
137+
env:
138+
LLVM_SYS_181_PREFIX: /usr/lib/llvm-18
143139
steps:
144140
- uses: actions/checkout@v4
145141
with:
146142
submodules: recursive
147143

148-
- name: Install LLVM 18
149-
uses: KyleMayes/install-llvm-action@v2
150-
with:
151-
version: "18"
152-
153-
- name: Install Polly library
144+
- name: Install LLVM 18 and Polly
154145
run: |
155146
wget https://apt.llvm.org/llvm.sh
156147
chmod +x llvm.sh
157148
sudo ./llvm.sh 18
158-
sudo apt-get install -y libpolly-18-dev
149+
sudo apt-get install -y llvm-18-dev libpolly-18-dev
159150
160151
- name: Install Rust toolchain
161152
uses: dtolnay/rust-toolchain@1.88.0

0 commit comments

Comments
 (0)