Files
llama.cpp/ui/apps/chat/sources.cmake
T
Aleksander Grygier 427a836734 ui: stage Llama Voice's sources for CMake and Docker UI builds (#32680)
Llama Chat compiles @ggml-org/llama-voice from ui/lib/voice/src, but the
CMake stage and the Docker UI stages copied only ui/lib/ui, so their npm
build could not resolve the voice imports. Stage ui/lib/voice/src next to
Llama UI and track it as an input of the CMake build.

Assisted-by: Claude (Opus 5.5 Medium)
2026-11-20 19:42:49 +01:00

23 lines
514 B
CMake

# Inputs used to decide whether the npm build output is up-to-date.
set(UI_SOURCE_GLOBS
src/*
static/*
# Llama UI, which the app compiles from source
../../lib/ui/src/lib/*
# Llama Voice, also compiled from source
../../lib/voice/src/*
)
set(UI_SOURCE_FILES
package.json
package-lock.json
src/.gitignore
vite.config.ts
tsconfig.json
scripts/llama-ui.js
scripts/vite-plugin-llama-ui.ts
../../lib/ui/package.json
scripts/vite-plugin-llama-cpp-build.ts
)