Debian Codegraph @

external/whispercpp/meson.build

raw
1 # meson.build of the external library "whisper"
2 # David Weenink, 18 April 2026
3
4 whisper_and_ggml_objects = '''
5 whisper.cpp diarize.cpp ggml.cpp ggml-type-traits.c ggml-memory-pool.cpp
6 ggml-backend.cpp ggml-backend-dl.cpp ggml-backend-reg.cpp ggml-alloc.cpp
7 ggml-threading.cpp ggml-quants.cpp'''.split()
8
9 ggml_cpu_objects = '''
10 ggml-cpu.cpp ggml-cpu-cpp.cpp traits.cpp quants.c
11 unary-ops.cpp binary-ops.cpp ops.cpp vec.cpp'''.split()
12
13 model_objects = '''
14 model-ggml-segmentation.cpp model-ggml-embedding.cpp'''.split()
15
16
17 sources = whisper_and_ggml_objects + ggml_cpu_objects + model_objects
18
19 libwhisper = static_library (
20 'whisper',
21 sources : sources,
22 include_directories : [melder_inc, fon_inc, sys_inc]
23 )
24
25 libwhisper_dep = declare_dependency (
26 include_directories : include_directories('.'), link_with: libwhisper
27 )