Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed May 6, 2024
1 parent 65b055b commit 358d1fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Make sure you have installed the dependencies:

- git
- Rust
- LLVM 17 with MLIR enabled
- LLVM 18 with MLIR enabled
- libgit2

If building LLVM from source, you'll need additional tools:
Expand All @@ -37,10 +37,10 @@ If building LLVM from source, you'll need additional tools:

Setup the following env vars:
```bash
# For Debian/Ubuntu using the repository, the path will be /usr/lib/llvm-17
export MLIR_SYS_170_PREFIX=/usr/lib/llvm-17
export LLVM_SYS_170_PREFIX=/usr/lib/llvm-17
export TABLEGEN_170_PREFIX=/usr/lib/llvm-17
# For Debian/Ubuntu using the repository, the path will be /usr/lib/llvm-18
export MLIR_SYS_180_PREFIX=/usr/lib/llvm-18
export LLVM_SYS_180_PREFIX=/usr/lib/llvm-18
export TABLEGEN_180_PREFIX=/usr/lib/llvm-18
```

If you installed llvm with brew, source the `env-macos.sh` script to set up the needed env vars:
Expand Down

0 comments on commit 358d1fe

Please sign in to comment.