mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-25 07:01:04 +00:00
f96e1c5b78
* sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) * metal : allow env metal variable to override resource path (#1415) * Allow env variable to override resource path * Update ggml-metal.m --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> * sync : restore common / main from `master` * sync : restore whisper from `master` * talk-llama : update to latest llama.cpp * ruby : fix build * ggml : fix 32-bit ARM build * ggml : fix MIN / MAX macro collisions + update ios bindings * ggml : fix ifdefs and MIN / MAX again * exampels : fix Obj-C and Swift examples * ggml : fix 32-bit ARM compatibility * ggml : one more attempt to fix 32-bit ARM compat * whisper : fix support for larger graphs --------- Co-authored-by: Chris Raethke <codesoda@users.noreply.github.com>
24 lines
808 B
CMake
24 lines
808 B
CMake
if (WHISPER_SDL2)
|
|
# talk-llama
|
|
set(TARGET talk-llama)
|
|
#add_executable(${TARGET} talk-llama.cpp llama.cpp)
|
|
#target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS})
|
|
#target_link_libraries(${TARGET} PRIVATE common common-sdl whisper ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
# TODO: this is temporary
|
|
# need to export ggml symbols for MSVC, but too lazy ..
|
|
add_executable(${TARGET}
|
|
talk-llama.cpp
|
|
llama.cpp
|
|
../common.cpp
|
|
../common-sdl.cpp
|
|
../../ggml.c
|
|
../../ggml-alloc.c
|
|
../../whisper.cpp)
|
|
|
|
target_include_directories(${TARGET} PRIVATE ${SDL2_INCLUDE_DIRS} ../../)
|
|
target_link_libraries(${TARGET} PRIVATE ${SDL2_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
include(DefaultTargetOptions)
|
|
endif ()
|