Skip to content

Commit 610ef91

Browse files
committed
Update build.yml
Update LLVM to 19.1.4.
1 parent a109b9d commit 610ef91

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
BUILD_TYPE: Release
11-
LLVM_VERSION: 17.0.6
11+
LLVM_VERSION: 19.1.4
1212
SCCACHE_DIRECT: yes
1313

1414
jobs:
@@ -50,13 +50,16 @@ jobs:
5050
--target FileCheck
5151
5252
- run: |
53-
curl -sL https://github.com/llvm/llvm-project/releases/download/llvmorg-${{ env.LLVM_VERSION }}/clang+llvm-${{ env.LLVM_VERSION }}-x86_64-linux-gnu-ubuntu-22.04.tar.xz -o ${{ github.workspace }}/third_party/clang+llvm-${{ env.LLVM_VERSION }}-x86_64-linux-gnu-ubuntu-22.04.tar.xz
54-
tar Jxf ${{ github.workspace }}/third_party/clang+llvm-${{ env.LLVM_VERSION }}-x86_64-linux-gnu-ubuntu-22.04.tar.xz -C ${{ github.workspace }}/third_party --strip-components 1
53+
curl -sL https://github.com/llvm/llvm-project/releases/download/llvmorg-${{ env.LLVM_VERSION }}/LLVM-${{ env.LLVM_VERSION }}-Linux-X64.tar.xz -o ${{ github.workspace }}/third_party/LLVM-${{ env.LLVM_VERSION }}-Linux-X64.tar.xz
54+
tar Jxf ${{ github.workspace }}/third_party/LLVM-${{ env.LLVM_VERSION }}-Linux-X64.tar.xz -C ${{ github.workspace }}/third_party --strip-components 1
5555
5656
- name: Configure CMake
5757
run: |
5858
cmake -B ${{ github.workspace }}/build \
5959
-D CMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
60+
-D CMAKE_C_COMPILER=${{ github.workspace }}/third_party/bin/clang \
61+
-D CMAKE_CXX_COMPILER=${{ github.workspace }}/third_party/bin/clang++ \
62+
-D CMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld \
6063
-D LLVM_DIR=${{ github.workspace }}/third_party/lib/cmake/llvm \
6164
-D Clang_DIR=${{ github.workspace }}/third_party/lib/cmake/clang \
6265
-D FILECHECK_EXECUTABLE=${{ github.workspace }}/build/llvm-project/bin/FileCheck \

0 commit comments

Comments
 (0)