Skip to content

ci: add Ubuntu 22 OpenVINO build job with bundled runtime libs#15

Merged
kenvandine merged 5 commits into
lemonadefrom
kenvandine/openvino
Jun 4, 2026
Merged

ci: add Ubuntu 22 OpenVINO build job with bundled runtime libs#15
kenvandine merged 5 commits into
lemonadefrom
kenvandine/openvino

Conversation

@kenvandine

@kenvandine kenvandine commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a new ubuntu-22-openvino release job that builds llama.cpp with -DGGML_OPENVINO=ON against the OpenVINO 2026.0 toolkit
  • Bundles libopenvino*.so*, plugins.xml (paths rewritten to basenames for $ORIGIN portability), and TBB alongside llama-server
  • Publishes llama-{tag}-bin-ubuntu-openvino-2026.0-x64.tar.gz so lemonade can download a self-contained OpenVINO backend without requiring a system-wide install

Before merging

Update OPENVINO_VERSION_FULL in the job env (line ~451) with the correct full build string from:
https://storage.openvinotoolkit.org/repositories/openvino/packages/2026.0/linux/

Test plan

  • Confirm OPENVINO_VERSION_FULL is set to a valid toolkit build string
  • Run the workflow via workflow_dispatch and verify the artifact is produced
  • Confirm libopenvino.so is present in the tarball
  • Test with lemonade: set llamacpp.backend = "openvino" in config.json and load a model

🤖 Generated with Claude Code

Adds a new release job that builds llama.cpp with -DGGML_OPENVINO=ON,
bundles libopenvino*.so*, plugins.xml (with paths rewritten to basenames
for $ORIGIN portability), and TBB alongside llama-server, then publishes
llama-{tag}-bin-ubuntu-openvino-2026.0-x64.tar.gz so lemonade can
download it without requiring a system-wide OpenVINO install.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kenvandine kenvandine requested a review from Copilot June 4, 2026 01:40

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

Adds a new GitHub Actions release build target for Ubuntu 24.04 that compiles llama.cpp with the OpenVINO backend enabled and packages the OpenVINO runtime (shared libs + plugins.xml) alongside the produced binaries, so consumers can run without a system-wide OpenVINO install.

Changes:

  • Adds a new ubuntu-22-openvino build job that downloads the OpenVINO 2026.0 toolkit, builds with -DGGML_OPENVINO=ON, and stages OpenVINO runtime libraries into build/bin/.
  • Rewrites plugins.xml entries to basename-only locations and sets ELF RPATH to $ORIGIN to support a relocatable bundle.
  • Adds the new OpenVINO artifact to the release job dependencies and to the generated release notes link list.

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

kenvandine and others added 4 commits June 3, 2026 21:59
- Set OPENVINO_VERSION_FULL to the correct 2026.0.0.20965.c6d6a13a886
  (sourced from ggml-org/llama.cpp build-openvino.yml)
- Install libtbb12, OpenCL headers, and ninja-build to match ggml-org's
  build environment
- Run install_openvino_dependencies.sh from the toolkit before building

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use the ubuntu22 toolkit variant (which exists for 2026.0) and run on
ubuntu-22.04 consistent with all other jobs in this workflow. Add an
optional ubuntu_version input to the linux-setup-openvino action so
callers can select the toolkit variant (default: ubuntu22).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
OpenVINO 2026.0 no longer ships plugins.xml in runtime/lib/intel64/;
plugin discovery is handled automatically by the runtime library.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
libtbbbind is TBB's optional CPU topology library; it depends on
libhwloc which is not available on the CI runner or target systems.
Only bundle libtbb and libtbbmalloc, which are sufficient for llama.cpp.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kenvandine kenvandine changed the title ci: add Ubuntu 24 OpenVINO build job with bundled runtime libs ci: add Ubuntu 22 OpenVINO build job with bundled runtime libs Jun 4, 2026
@kenvandine kenvandine merged commit e735c91 into lemonade Jun 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants