mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-27 04:39:44 +02:00
Merge dac938391d
into f92bd59951
This commit is contained in:
commit
935d401ac7
@ -48,6 +48,12 @@ if (WHISPER_OPENVINO)
|
|||||||
find_package(OpenVINO REQUIRED COMPONENTS Runtime)
|
find_package(OpenVINO REQUIRED COMPONENTS Runtime)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (WHISPER_MKL)
|
||||||
|
find_package(MKL REQUIRED)
|
||||||
|
set(MKL_INCLUDE_DIRS "${MKLROOT}/include")
|
||||||
|
set(MKL_LIBRARIES "${MKLROOT}/lib/intel64")
|
||||||
|
endif()
|
||||||
|
|
||||||
#
|
#
|
||||||
# libraries
|
# libraries
|
||||||
#
|
#
|
||||||
@ -134,7 +140,9 @@ if (WHISPER_OPENVINO)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WHISPER_MKL)
|
if (WHISPER_MKL)
|
||||||
target_link_libraries(whisper PRIVATE MKL::MKL)
|
include_directories(${MKL_INCLUDE_DIRS})
|
||||||
|
link_directories(${MKL_LIBRARIES})
|
||||||
|
target_link_libraries(whisper PRIVATE mkl_rt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user