File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 5
5
- cmake
6
6
- make or ninja
7
7
8
- ### 0 . Clone Polygeist
8
+ ### 1 . Clone Polygeist
9
9
``` sh
10
10
git clone --recursive https://github.com/llvm/Polygeist
11
11
cd Polygeist
12
12
```
13
13
14
- ### 1 . Install LLVM, MLIR, Clang, and Polygeist
14
+ ### 2 . Install LLVM, MLIR, Clang, and Polygeist
15
15
16
16
#### Option 1: Using pre-built LLVM, MLIR, and Clang
17
17
@@ -41,7 +41,7 @@ cmake -G Ninja .. \
41
41
-DLLVM_ENABLE_ASSERTIONS=ON \
42
42
-DCMAKE_BUILD_TYPE=DEBUG
43
43
ninja
44
- ninja check-cgeist
44
+ ninja check-polygeist-opt && ninja check- cgeist
45
45
```
46
46
47
47
#### Option 2: Using unified LLVM, MLIR, Clang, and Polygeist build
@@ -60,5 +60,8 @@ cmake -G Ninja ../llvm-project/llvm \
60
60
-DLLVM_ENABLE_ASSERTIONS=ON \
61
61
-DCMAKE_BUILD_TYPE=DEBUG
62
62
ninja
63
- ninja check-cgeist
63
+ ninja check-polygeist-opt && ninja check- cgeist
64
64
```
65
+
66
+ ` ninja check-polygeist-opt ` runs the tests in ` Polygeist/test/polygeist-opt `
67
+ ` ninja check-cgeist ` runs the tests in ` Polygeist/tools/cgeist/Test `
You can’t perform that action at this time.
0 commit comments