Skip to content

Commit

Permalink
Use the requirements from MLIR
Browse files Browse the repository at this point in the history
  • Loading branch information
josel-amd committed Aug 19, 2024
1 parent 86a6580 commit 20aca78
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-llvm-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,24 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}
variant: sccache

- name: Set virtual env
run: |
python3 -m venv .venv
source .venv/bin/activate
- name: Install requirements.txt
run: |
pip install -r ./llvm-project/mlir/python/requirements.txt
- name: Install Ninja
uses: llvm/actions/install-ninja@main

Expand All @@ -41,7 +52,7 @@ jobs:
cmake -G Ninja \
-Bbuild \
llvm-project/llvm \
-DCMAKE_BUILD_TYPE=Relase \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DLLVM_USE_LINKER=lld \
Expand Down

0 comments on commit 20aca78

Please sign in to comment.