Skip to content

Commit fef88d2

Browse files
authored
[libclc][NFC] Update README.md to use runtime build (#158283)
LLVM_ENABLE_PROJECTS=libclc is deprecated, see https://github.com/llvm/llvm-project/blob/a2a9601ea49a/llvm/CMakeLists.txt#L223-L228
1 parent c128f3b commit fef88d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libclc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ more targets is welcome.
3131

3232
For an in-tree build, Clang must also be built at the same time:
3333
```
34-
$ cmake <path-to>/llvm-project/llvm/CMakeLists.txt -DLLVM_ENABLE_PROJECTS="libclc;clang" \
35-
-DCMAKE_BUILD_TYPE=Release -G Ninja
34+
$ cmake <path-to>/llvm-project/llvm/CMakeLists.txt -DLLVM_ENABLE_PROJECTS="clang" \
35+
-DLLVM_ENABLE_RUNTIMES="libclc" -DCMAKE_BUILD_TYPE=Release -G Ninja
3636
$ ninja
3737
```
3838
Then install:

0 commit comments

Comments
 (0)