Skip to content

cmake : build router app only during standalone builds#23521

Merged
ggerganov merged 1 commit into
ggml-org:masterfrom
fairydreaming:app-standalone-only
May 22, 2026
Merged

cmake : build router app only during standalone builds#23521
ggerganov merged 1 commit into
ggml-org:masterfrom
fairydreaming:app-standalone-only

Conversation

@fairydreaming
Copy link
Copy Markdown
Collaborator

Overview

CMake projects that use llama.cpp as a library currently fail to build because router app building is always ON and it fails with:

/home/phm/Projects/fetch-test/build-master/_deps/llama-src/app/llama.cpp:1:10: fatal error: build-info.h: No such file or directory
    1 | #include "build-info.h"
      |          ^~~~~~~~~~~~~~

like in #23497

This PR switches building router app to standalone builds only (not sure what was the point of building it always so close this if it's required).

Requirements

@fairydreaming fairydreaming requested a review from ggerganov as a code owner May 22, 2026 09:53
@ggerganov ggerganov merged commit 9c92e96 into ggml-org:master May 22, 2026
38 of 40 checks passed
@github-actions github-actions Bot added the build Compilation issues label May 22, 2026
Alex7MV pushed a commit to Alex7MV/claude_llama.cpp that referenced this pull request May 22, 2026
Co-authored-by: Stanisław Szymczyk <sszymczy@gmail.com>
ProTekk pushed a commit to ProTekk/buun-llama-cpp that referenced this pull request May 22, 2026
Co-authored-by: Stanisław Szymczyk <sszymczy@gmail.com>
gabe-l-hart added a commit to gabe-l-hart/llama.cpp that referenced this pull request May 22, 2026
* origin/master:
server: only parse empty msg if continuing an assistant msg (ggml-org#23506)
perplexity : fix integer overflow (ggml-org#23496)
SYCL: improve MoE prefill throughput (ggml-org#23142)
sycl : Level Zero detection in ggml_sycl_init (ggml-org#23097)
SYCL : gated_delta_net K>1 (ggml-org#23174)
SYCL: add BF16 to DMMV kernel path (~4x tg speedup on Intel Arc) (ggml-org#21580)
docs: Update documentation with Granite 4.0/4.1 (ggml-org#23404)
ggml-zendnn : add Q8_0 quantization support (ggml-org#23414)
cmake : build router app only during standalone builds (ggml-org#23521)
vocab : fix HybridDNA tokenizer (ggml-org#23466)
cmake : add install() for impl libraries + fix apple builds (ggml-org#23511)
CUDA: fix PDL CC check for JIT compilation (ggml-org#23471)
cmake : remove STATIC from impl libraries, enable LLAMA_BUILD_APP by default (ggml-org#23462)
Update WebGPU support and add link to blog/demo (ggml-org#23483)
vulkan: fuse snake activation (mul, sin, sqr, mul, add) (ggml-org#22855)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Compilation issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

builddir/_deps/llama-src/app/llama.cpp:1:10: fatal error: build-info.h: No such file or directory

3 participants