mirror of
https://github.com/mudler/LocalAI.git
synced 2026-01-20 04:11:49 -05:00
fix: specify icx and icpx only on whisper.cpp
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
2
Makefile
2
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
|
||||
|
||||
Reference in New Issue
Block a user