mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 11:02:04 +08:00
[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
This commit is contained in:
@@ -31,8 +31,8 @@ more targets is welcome.
|
||||
|
||||
For an in-tree build, Clang must also be built at the same time:
|
||||
```
|
||||
$ cmake <path-to>/llvm-project/llvm/CMakeLists.txt -DLLVM_ENABLE_PROJECTS="libclc;clang" \
|
||||
-DCMAKE_BUILD_TYPE=Release -G Ninja
|
||||
$ cmake <path-to>/llvm-project/llvm/CMakeLists.txt -DLLVM_ENABLE_PROJECTS="clang" \
|
||||
-DLLVM_ENABLE_RUNTIMES="libclc" -DCMAKE_BUILD_TYPE=Release -G Ninja
|
||||
$ ninja
|
||||
```
|
||||
Then install:
|
||||
|
||||
Reference in New Issue
Block a user