aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Junger <pJunger@users.noreply.github.com>2021-09-29 12:03:43 +0000
committerGitHub <noreply@github.com>2021-09-29 12:03:43 +0000
commitfd03f14a44e4afe89a80f744f901281c23778f99 (patch)
tree82088b5d73f45be8cd037838359d512201d5259e
parentMerge pull request #20 from schra/patch/llvm-conf (diff)
downloadcgrep-fd03f14a44e4afe89a80f744f901281c23778f99.tar.gz
cgrep-fd03f14a44e4afe89a80f744f901281c23778f99.zip
Update README.md
Fixed CMAKE parameter name & git url. Added clang 12 & 13 as they are supported as of https://github.com/terminaldweller/cgrep/issues/18
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index a0c02f9..6dfb629 100644
--- a/README.md
+++ b/README.md
@@ -69,7 +69,7 @@ make
After the build is finished you can choose to run `make install`. It will simply symlink cgrep into `/usr/local/bin`.
If you have installed LLVM but don't have `llvm-config`, you are missing the dev package for LLVM.<br/>
-`cgrep` supports LLVM 5,6,7,8,9,10 and 11.<br/>
+`cgrep` supports LLVM 5,6,7,8,9,10, 11, 12 and 13.<br/>
The makefile assumes clang is called `clang` and llvm-config is called `llvm-config`. On some distros, the names might not be the same. In those cases use `CXX` and `LLVM_CONF` to pass the values to the makefile like so:
```bash
make CXX=clang-9 LLVM_CONF=llvm-config-9
@@ -80,12 +80,12 @@ For windows builds, cygwin builds are supported. Get llvm and clang along with t
### Cmake
To do an out-of-source build simply do:<br/>
```bash
-git clone https://github.com/bloodstalker/cgrep
+git clone https://github.com/terminaldweller/cgrep
cd cgrep
git submodule init
git submodule update
mkdir build
-cmake ../ -DLLVM_CONF=llvm-config-10 -DCMAKE_CXX_COMPIELR=clang++-10 -DUSE_MONOLITH_LIBTOOLING=ON
+cmake ../ -DLLVM_CONF=llvm-config-10 -DCMAKE_CXX_COMPILER=clang++-10 -DUSE_MONOLITH_LIBTOOLING=ON
make
```
The 3 variables denote the llvm-config executable name, the clang++ name and finally, the last one tells cmake whether to build using the single c++ libtooling library or just use the old way with all the libtooling libraries.<br/>