mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
fix: specify icx and icpx only on whisper.cpp
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
73fc702b3c
commit
ecb1297582
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -308,7 +308,7 @@ sources/whisper.cpp:
|
||||||
sources/whisper.cpp/build/src/libwhisper.a: sources/whisper.cpp
|
sources/whisper.cpp/build/src/libwhisper.a: sources/whisper.cpp
|
||||||
ifneq (,$(findstring sycl,$(BUILD_TYPE)))
|
ifneq (,$(findstring sycl,$(BUILD_TYPE)))
|
||||||
+bash -c "source $(ONEAPI_VARS); \
|
+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"
|
cd build && cmake --build . --config Release"
|
||||||
else
|
else
|
||||||
cd sources/whisper.cpp && cmake $(CMAKE_ARGS) . -B ./build
|
cd sources/whisper.cpp && cmake $(CMAKE_ARGS) . -B ./build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue