Skip to content

Commit 38670b2

Browse files
authored
update README (#226)
1 parent d78e8ea commit 38670b2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
- cmake
66
- make or ninja
77

8-
### 0. Clone Polygeist
8+
### 1. Clone Polygeist
99
```sh
1010
git clone --recursive https://github.com/llvm/Polygeist
1111
cd Polygeist
1212
```
1313

14-
### 1. Install LLVM, MLIR, Clang, and Polygeist
14+
### 2. Install LLVM, MLIR, Clang, and Polygeist
1515

1616
#### Option 1: Using pre-built LLVM, MLIR, and Clang
1717

@@ -41,7 +41,7 @@ cmake -G Ninja .. \
4141
-DLLVM_ENABLE_ASSERTIONS=ON \
4242
-DCMAKE_BUILD_TYPE=DEBUG
4343
ninja
44-
ninja check-cgeist
44+
ninja check-polygeist-opt && ninja check-cgeist
4545
```
4646

4747
#### Option 2: Using unified LLVM, MLIR, Clang, and Polygeist build
@@ -60,5 +60,8 @@ cmake -G Ninja ../llvm-project/llvm \
6060
-DLLVM_ENABLE_ASSERTIONS=ON \
6161
-DCMAKE_BUILD_TYPE=DEBUG
6262
ninja
63-
ninja check-cgeist
63+
ninja check-polygeist-opt && ninja check-cgeist
6464
```
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`

0 commit comments

Comments
 (0)