Skip to content

Commit 9de2805

Browse files
committed
[CI] Fix out-of-tree build by installing mlir-tools
LLVMExports.cmake from already installed packages references files from the mlir-tools package.
1 parent 4b415cb commit 9de2805

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/check-code-style.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ jobs:
6363
sudo apt-get update
6464
sudo apt-get install -yqq \
6565
clang-format-${{ env.LLVM_VERSION }} clang-tidy-${{ env.LLVM_VERSION }} \
66-
llvm-${{ env.LLVM_VERSION }}-dev libomp-${{ env.LLVM_VERSION }}-dev
66+
llvm-${{ env.LLVM_VERSION }}-dev libomp-${{ env.LLVM_VERSION }}-dev \
67+
mlir-${{ env.LLVM_VERSION }}-tools \
6768
6869
- name: Generate compile command database
6970
if: ${{ steps.gather-list-of-changes.outputs.HAS_CHANGES }}

.github/workflows/check-out-of-tree-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
llvm-${{ env.LLVM_VERSION }}-dev \
5353
libomp-${{ env.LLVM_VERSION }}-dev \
5454
llvm-${{ env.LLVM_VERSION }}-tools \
55+
mlir-${{ env.LLVM_VERSION }}-tools \
5556
spirv-tools
5657
# Linux systems in GitHub Actions already have older versions of clang
5758
# pre-installed. Make sure to override these with the relevant version.

0 commit comments

Comments
 (0)