8000 docs: Set the correct command for compiling with syscl support (#1172) · eycewind/llama-cpp-python@918ff27 · GitHub
[go: up one dir, main page]

Skip to content

Commit 918ff27

Browse files
author
Akarshan Biswas
authored
docs: Set the correct command for compiling with syscl support (abetlen#1172)
1 parent 19b55ad commit 918ff27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ CMAKE_ARGS="-DLLAMA_KOMPUTE=on" pip install llama-cpp-python
118118
To install with SYCL support, set the `LLAMA_SYCL=on` environment variable before installing:
119119

120120
```bash
121-
CMAKE_ARGS="-DLLAMA_SYCL=on" pip install llama-cpp-python
121+
source /opt/intel/oneapi/setvars.sh
122+
CMAKE_ARGS="-DLLAMA_SYCL=on -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx" pip install llama-cpp-python
122123
```
123124

124125
### Windows Notes

0 commit comments

Comments
 (0)
0