Skip to content

Commit 85e917d

Browse files
committed
Add specific requirements for compiling with a mix of MSCV and Intel
Compiler
1 parent f3fbf32 commit 85e917d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/backend/SYCL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ If you want to use Intel C++ compiler for the entire llama.cpp project:
581581
cmake -B build -G "Visual Studio 17 2022" -T "Intel C++ Compiler 2025" -A x64 -DGGML_SYCL=ON -DCMAKE_BUILD_TYPE=Release
582582
```
583583

584-
If you want to use Intel C++ Compiler only for ggml-sycl:
584+
If you want, you can use Intel C++ Compiler only for ggml-sycl, but `ggml` and its backend libraries *must* be build as shared libraries(i.e. `-DBUILD_SHARED_LIBRARIES=ON`):
585585
```
586586
cmake -B build -G "Visual Studio 17 2022" -A x64 -DGGML_SYCL=ON -DCMAKE_BUILD_TYPE=Release -DSYCL_INCLUDE_DIR="C:\Program Files (x86)\Intel\oneAPI\compiler\latest\include" -DSYCL_LIBRARY_DIR="C:\Program Files (x86)\Intel\oneAPI\compiler\latest\lib"
587587
```

0 commit comments

Comments
 (0)