Skip to content

Commit

Permalink
Upgrade to LLVM 19.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
marcauberer committed Oct 30, 2024
1 parent 734491f commit 36f9e55
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ jobs:
uses: actions/cache@v4
with:
path: /home/runner/work/spice/llvm
key: llvm-19.1.2
key: llvm-19.1.3

- name: Setup LLVM
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: |
cd ..
rm -rf llvm
git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project llvm
git clone --depth 1 --branch llvmorg-19.1.3 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
uses: actions/cache@v4
with:
path: /home/runner/work/spice/llvm
key: llvm-19.1.2
key: llvm-19.1.3

- 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.2 https://github.com/llvm/llvm-project llvm
git clone --depth 1 --branch llvmorg-19.1.3 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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
uses: actions/cache@v4
with:
path: /home/runner/work/spice/spice/llvm
key: llvm-19.1.2-linux-x64
key: llvm-19.1.3-linux-x64

- name: Setup LLVM
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: |
git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project.git llvm
git clone --depth 1 --branch llvmorg-19.1.3 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
Expand Down Expand Up @@ -106,12 +106,12 @@ jobs:
uses: actions/cache@v4
with:
path: /home/runner/work/spice/spice/llvm
key: llvm-19.1.2-linux-aarch64
key: llvm-19.1.3-linux-aarch64

- name: Clone LLVM
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: |
git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project.git llvm
git clone --depth 1 --branch llvmorg-19.1.3 https://github.com/llvm/llvm-project.git llvm
mkdir ./llvm/build
- name: Setup LLVM
Expand Down Expand Up @@ -188,12 +188,12 @@ jobs:
uses: actions/cache@v4
with:
path: D:/a/spice/spice/llvm
key: llvm-19.1.2-win-x64
key: llvm-19.1.3-win-x64

- name: Setup LLVM
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: |
git clone --depth 1 --branch llvmorg-19.1.2 https://github.com/llvm/llvm-project.git llvm
git clone --depth 1 --branch llvmorg-19.1.3 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."
Expand Down
2 changes: 1 addition & 1 deletion dev-setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2 https://github.com/llvm/llvm-project llvm
git clone --depth 1 --branch llvmorg-19.1.3 https://github.com/llvm/llvm-project llvm
echo done.

:: Build LLVM
Expand Down
2 changes: 1 addition & 1 deletion dev-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.2 https://github.com/llvm/llvm-project llvm
git clone --depth 1 --branch llvmorg-19.1.3 https://github.com/llvm/llvm-project llvm
colored_echo "done."

# Build LLVM
Expand Down

0 comments on commit 36f9e55

Please sign in to comment.