Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Change-Id: I59c0d3731605fc9bc10f30a9e5402bdee4b688d3
  • Loading branch information
kpet committed Nov 24, 2024
1 parent 163e424 commit 627b53e
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build-mesa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,24 @@ jobs:
- name: Fetch LLVM
run: |
git clone -b release/19.x --depth 1 https://github.com/llvm/llvm-project.git llvm-project
- name: Build LLVM
- name: Build LLVM (Windows)
if: ${{ matrix.os == 'windows-2022' }}
run: |
cd llvm-project/llvm
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="AArch64;X86"
ninja
- name: Install LLVM
shell: bash
ninja install
- name: Build LLVM (non-Windows)
if: ${{ matrix.os != 'windows-2022' }}
run: |
cd llvm-project/llvm/build
if [ "$RUNNER_OS" == "Windows" ]; then
ninja install
else
sudo $(which ninja) install
fi
cd llvm-project/llvm
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="AArch64;X86" -DBUILD_SHARED_LIBS=ON
ninja
sudo $(which ninja) install
- name: Fetch Mesa
run: |
git clone -b main --depth 1 https://gitlab.freedesktop.org/mesa/mesa.git mesa
Expand Down

0 comments on commit 627b53e

Please sign in to comment.