From 0c79b78ddc2e15db4b1cd2d71f0d5d6da68246b6 Mon Sep 17 00:00:00 2001 From: Marc Auberer Date: Sat, 19 Oct 2024 16:04:49 +0200 Subject: [PATCH] Upgrade to LLVM 19.1.2 --- .github/workflows/ci-cpp.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/publish.yml | 12 ++++++------ dev-setup.bat | 2 +- dev-setup.sh | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-cpp.yml b/.github/workflows/ci-cpp.yml index de4ebf201..8443c36ae 100644 --- a/.github/workflows/ci-cpp.yml +++ b/.github/workflows/ci-cpp.yml @@ -53,14 +53,14 @@ jobs: uses: actions/cache@v4 with: path: /home/runner/work/spice/llvm - key: llvm-19.1.1 + key: llvm-19.1.2 - name: Setup LLVM if: steps.cache-llvm.outputs.cache-hit != 'true' run: | cd .. rm -rf llvm - git clone --depth 1 --branch llvmorg-19.1.1 https://github.com/llvm/llvm-project llvm + git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project llvm mkdir ./llvm/build cd ./llvm/build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS_RELEASE="-O2" -DLLVM_ENABLE_RTTI=ON -GNinja ../llvm diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 907ae8a11..7792792ff 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,14 +39,14 @@ jobs: uses: actions/cache@v4 with: path: /home/runner/work/spice/llvm - key: llvm-19.1.1 + key: llvm-19.1.2 - name: Setup LLVM if: steps.cache-llvm.outputs.cache-hit != 'true' run: | echo "/usr/lib/ccache:/usr/local/opt/ccache/libexec" >> $GITHUB_PATH cd .. - git clone --depth 1 --branch llvmorg-19.1.1 https://github.com/llvm/llvm-project llvm + git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project llvm mkdir ./llvm/build cd ./llvm/build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS_RELEASE="-O2" -DLLVM_ENABLE_RTTI=ON -GNinja ../llvm diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a55b40f38..952ac9a10 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,12 +35,12 @@ jobs: uses: actions/cache@v4 with: path: /home/runner/work/spice/spice/llvm - key: llvm-19.1.1-linux-x64 + key: llvm-19.1.2-linux-x64 - name: Setup LLVM if: steps.cache-llvm.outputs.cache-hit != 'true' run: | - git clone --depth 1 --branch llvmorg-19.1.1 https://github.com/llvm/llvm-project.git llvm + git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project.git llvm mkdir ./llvm/build cd ./llvm/build cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CXX_FLAGS_RELEASE="-O2" -DLLVM_ENABLE_RTTI=ON -Wno-dev -Wattributes ../llvm @@ -106,12 +106,12 @@ jobs: uses: actions/cache@v4 with: path: /home/runner/work/spice/spice/llvm - key: llvm-19.1.1-linux-aarch64 + key: llvm-19.1.2-linux-aarch64 - name: Clone LLVM if: steps.cache-llvm.outputs.cache-hit != 'true' run: | - git clone --depth 1 --branch llvmorg-19.1.1 https://github.com/llvm/llvm-project.git llvm + git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project.git llvm mkdir ./llvm/build - name: Setup LLVM @@ -188,12 +188,12 @@ jobs: uses: actions/cache@v4 with: path: D:/a/spice/spice/llvm - key: llvm-19.1.1-win-x64 + key: llvm-19.1.2-win-x64 - name: Setup LLVM if: steps.cache-llvm.outputs.cache-hit != 'true' run: | - git clone --depth 1 --branch llvmorg-19.1.1 https://github.com/llvm/llvm-project.git llvm + git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project.git llvm setx /M PATH "%PATH%;C:\mingw64\mingw64\bin" $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") echo "Adding MinGW to path done." diff --git a/dev-setup.bat b/dev-setup.bat index 9e4d5c3dd..d47a0c6af 100644 --- a/dev-setup.bat +++ b/dev-setup.bat @@ -34,7 +34,7 @@ echo done. :: Clone LLVM echo [Step 2] Cloning LLVM (Could take a while) ... -git clone --depth 1 --branch llvmorg-19.1.1 https://github.com/llvm/llvm-project llvm +git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project llvm echo done. :: Build LLVM diff --git a/dev-setup.sh b/dev-setup.sh index 399e36d10..01e2941e9 100755 --- a/dev-setup.sh +++ b/dev-setup.sh @@ -16,7 +16,7 @@ colored_echo "done." # Clone LLVM colored_echo "[Step 2] Cloning LLVM (Could take a while) ... " -git clone --depth 1 --branch llvmorg-19.1.1 https://github.com/llvm/llvm-project llvm +git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project llvm colored_echo "done." # Build LLVM