Skip to content

Commit

Permalink
Upgrade to LLVM 16 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacShelton committed Oct 9, 2023
1 parent 8bf9004 commit 837bba0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/remoteBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@ jobs:
id: llvm
with:
path: ${{github.workspace}}/llvm
key: ${{runner.os}}-cache-llvm-13.0.1-${{ hashFiles('llvm/**/*.txt') }}
key: ${{runner.os}}-cache-llvm-16.0.6-${{ hashFiles('llvm/**/*.txt') }}
# For some god-forsaken reason, there is no prebuilt version of LLVM for developing on Windows.
# Every version comes with llvm-config, LLVMConfig.cmake, and other files needed, expect Windows!
# Which means we're gonna have to spend an hour or so compiling from scratch (Github willing)
# At least we have ninja
- name: Download LLVM Source Code (Windows)
if: steps.llvm.outputs.cache-hit != 'true' && matrix.os == 'windows-latest'
run: curl -o llvm-source-tree.tar.xz -L https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.1/llvm-13.0.1.src.tar.xz
run: curl -o llvm-source-tree.tar.xz -L https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/llvm-16.0.6.src.tar.xz
- name: Extract LLVM Source Code (Windows)
if: steps.llvm.outputs.cache-hit != 'true' && matrix.os == 'windows-latest'
run: |
7z x llvm-source-tree.tar.xz
tar xf llvm-source-tree.tar
mv llvm-13.0.1.src llvm
mv llvm-16.0.6.src llvm
- name: Build LLVM from Source (Windows)
if: steps.llvm.outputs.cache-hit != 'true' && matrix.os == 'windows-latest'
working-directory: ${{github.workspace}}/llvm
Expand Down

0 comments on commit 837bba0

Please sign in to comment.