From ecb1297582f80c2b0fbf7c26d953ac476aa012e0 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 9 May 2025 10:58:30 +0200 Subject: [PATCH] fix: specify icx and icpx only on whisper.cpp Signed-off-by: Ettore Di Giacinto --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a458f1ec..936127ff 100644 --- a/Makefile +++ b/Makefile @@ -308,7 +308,7 @@ sources/whisper.cpp: sources/whisper.cpp/build/src/libwhisper.a: sources/whisper.cpp ifneq (,$(findstring sycl,$(BUILD_TYPE))) +bash -c "source $(ONEAPI_VARS); \ - cd sources/whisper.cpp && cmake $(CMAKE_ARGS) . -B ./build && \ + cd sources/whisper.cpp && cmake $(CMAKE_ARGS) -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx . -B ./build && \ cd build && cmake --build . --config Release" else cd sources/whisper.cpp && cmake $(CMAKE_ARGS) . -B ./build