Skip to content

Commit 60ce99b

Browse files
Merge pull request lahiri-phdworks#5 from codersguild/master
Update README.md
2 parents e958f37 + ee1814a commit 60ce99b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
LLVM Examples and Code samples. LLVM Passes. Based on [llvm-project](https://github.com/llvm/llvm-project)
44

5+
```bash
6+
# llvm cmake
7+
cmake -G "Ninja" build \
8+
-DLLVM_ENABLE_PROJECTS="llvm;compiler-rt;clang;clang-tools-extra" \
9+
-DCMAKE_BUILD_TYPE=Release \
10+
-DLLVM_ENABLE_ASSERTIONS=ON \
11+
-DLLVM_CCACHE_BUILD=OFF \
12+
-DLLVM_BUILD_TESTS=ON \
13+
-DLLVM_INSTALL_UTILS=ON \
14+
-B build -S llvm
15+
```
16+
517
## Installing from Docker
618

719
Check `build` commands in the `Dockerfile` for more information

0 commit comments

Comments
 (0)