Skip to content

Commit 4644e59

Browse files
committed
gh: Use matrix's LLVM version
1 parent 0eb760d commit 4644e59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/temp.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,16 @@ jobs:
107107
apt-get -y install git fakeroot build-essential \
108108
ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison \
109109
bear \
110-
clang-18 clang-tools-18 \
111-
lld-18 \
112-
llvm-18 llvm-18-tools llvm-18-linker-tools llvm-18-runtime
110+
clang-${{ matrix.llvm-version }} clang-tools-${{ matrix.llvm-version }} \
111+
lld-${{ matrix.llvm-version }} \
112+
llvm-${{ matrix.llvm-version }} llvm-${{ matrix.llvm-version }}-tools llvm-${{ matrix.llvm-version }}-linker-tools llvm-${{ matrix.llvm-version }}-runtime
113113
114114
- name: Clone the Linux kernel and build it to create compilation database
115115
run: |
116116
git clone --depth=1 https://github.com/torvalds/linux.git linux
117117
cd linux
118118
bear -- make defconfig
119-
bear -- make LLVM=-18 -j $(nproc)
119+
bear -- make LLVM=-${{ matrix.llvm-version }} -j $(nproc)
120120
cd ../
121121
122122
- name: Clone vast benchmark directory

0 commit comments

Comments
 (0)