From 756c4accaf6dbf41a61caf80bfdb392efbc60f7b Mon Sep 17 00:00:00 2001 From: jianyuzh Date: Tue, 23 Jan 2024 20:06:08 +0800 Subject: [PATCH] skip build sycl tool for other code path --- examples/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 6b1d24e42..68ad89964 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -23,7 +23,9 @@ else() add_subdirectory(infill) add_subdirectory(llama-bench) add_subdirectory(llava) - add_subdirectory(sycl) + if (LLAMA_SYCL) + add_subdirectory(sycl) + endif() add_subdirectory(main) add_subdirectory(tokenize) add_subdirectory(parallel)