Skip to content

ci(release): ship llama-speculative-simple in prebuilt archives#69

Merged
khosravipasha merged 1 commit into
prismfrom
ci-package-speculative-simple
Jul 14, 2026
Merged

ci(release): ship llama-speculative-simple in prebuilt archives#69
khosravipasha merged 1 commit into
prismfrom
ci-package-speculative-simple

Conversation

@khosravipasha

Copy link
Copy Markdown
Collaborator

The prebuilt release archives ship llama-server, llama-cli, and the tools, but not llama-speculative-simple (the dspark / speculative-decoding CLI), because the release build sets -DLLAMA_BUILD_EXAMPLES=OFF and that binary lives under examples/. llama-server already includes speculative support, so the API path works from prebuilds; only the CLI one-shot is missing.

This flips the shared CMAKE_ARGS to -DLLAMA_BUILD_EXAMPLES=ON so the binary is built and picked up by the existing tar -C build/bin . / 7z packaging on every platform (macOS, Linux, CUDA, Vulkan, Windows). No packaging change needed.

Trade-off: EXAMPLES=ON also builds the other examples/* binaries, so the archives grow by that set (this matches upstream's default). If you'd rather ship only llama-speculative-simple, keep EXAMPLES=OFF and add a targeted cmake --build build --target llama-speculative-simple step before packaging instead; happy to switch to that if you prefer the slimmer archives.

@khosravipasha
khosravipasha requested a review from Copilot July 14, 2026 07:05
@khosravipasha
khosravipasha merged commit 62061f9 into prism Jul 14, 2026
6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables llama-speculative-simple in Prism prebuilt release archives.

Changes:

  • Enables example targets across shared release builds.
  • Existing catch-all packaging includes generated binaries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
CMAKE_ARGS: "-DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_TOOLS=ON -DLLAMA_BUILD_SERVER=ON -DGGML_RPC=ON"
CMAKE_ARGS: "-DLLAMA_BUILD_EXAMPLES=ON -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_TOOLS=ON -DLLAMA_BUILD_SERVER=ON -DGGML_RPC=ON"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants