File tree Expand file tree Collapse file tree 4 files changed +32
-30
lines changed
actions/setup-mlir-python-bindings Expand file tree Collapse file tree 4 files changed +32
-30
lines changed Original file line number Diff line number Diff line change
1
+ name : setup-mlir-python-bindings
2
+ description : Fetch and setup MLIR Python bindings
3
+ runs :
4
+ using : " composite"
5
+ steps :
6
+ - name : Set LLVM hash
7
+ shell : bash
8
+ run : |
9
+ echo LLVM_HASH=$(cat cmake/llvm-version.txt) >>$GITHUB_ENV
10
+
11
+ - name : Fetch requirements for python binding
12
+ uses : actions/checkout@v4
13
+ with :
14
+ repository : llvm/llvm-project
15
+ ref : ${{ env.LLVM_HASH }}
16
+ sparse-checkout : mlir/python/requirements.txt
17
+ sparse-checkout-cone-mode : false
18
+ path : llvm-dep
19
+
20
+ - name : Install requirements
21
+ shell : bash
22
+ run : python3 -m pip install -r llvm-dep/mlir/python/requirements.txt
Original file line number Diff line number Diff line change 22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
25
- - name : Set LLVM hash
26
- run : |
27
- echo LLVM_HASH=$(cat cmake/llvm-version-imex.txt) >>$GITHUB_ENV
28
-
29
- - name : Fetch requirements for python binding
30
- uses : actions/checkout@v4
31
- with :
32
- repository : llvm/llvm-project
33
- ref : ${{ env.LLVM_HASH }}
34
- sparse-checkout : mlir/python/requirements.txt
35
- sparse-checkout-cone-mode : false
36
- path : llvm-dep
37
-
38
- - name : Install requirements
39
- run : python3 -m pip install -r llvm-dep/mlir/python/requirements.txt
25
+ - name : Setup MLIR Python bindings
26
+ id : setup-mlir-python-bindings
27
+ uses : ./.github/actions/setup-mlir-python-bindings
40
28
41
29
- name : Build
42
30
run : |
Original file line number Diff line number Diff line change 22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
25
- - name : Set LLVM hash
26
- run : |
27
- echo LLVM_HASH=$(cat cmake/llvm-version.txt) >>$GITHUB_ENV
28
-
29
- - name : Fetch requirements for python binding
30
- uses : actions/checkout@v4
31
- with :
32
- repository : llvm/llvm-project
33
- ref : ${{ env.LLVM_HASH }}
34
- sparse-checkout : mlir/python/requirements.txt
35
- sparse-checkout-cone-mode : false
36
- path : llvm-dep
37
-
38
- - name : Install requirements
39
- run : python3 -m pip install -r llvm-dep/mlir/python/requirements.txt
25
+ - name : Setup MLIR Python bindings
26
+ id : setup-mlir-python-bindings
27
+ uses : ./.github/actions/setup-mlir-python-bindings
40
28
41
29
- name : Build
42
30
run : |
Original file line number Diff line number Diff line change 53
53
echo "email=$email" | tee -a $GITHUB_ENV
54
54
echo "version=$version" | tee -a $GITHUB_ENV
55
55
56
+ - name : Setup MLIR Python bindings
57
+ id : setup-mlir-python-bindings
58
+ uses : ./.github/actions/setup-mlir-python-bindings
59
+
56
60
- name : Run coverity build
57
61
run : |
58
62
You can’t perform that action at this time.
0 commit comments