From 837bba099c5a32228bbc2a7a8b8fbe4adfea2c98 Mon Sep 17 00:00:00 2001 From: IsaacShelton Date: Mon, 9 Oct 2023 12:07:43 -0500 Subject: [PATCH] Upgrade to LLVM 16 on Windows --- .github/workflows/remoteBuild.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/remoteBuild.yml b/.github/workflows/remoteBuild.yml index b375310b..89802780 100644 --- a/.github/workflows/remoteBuild.yml +++ b/.github/workflows/remoteBuild.yml @@ -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