Skip to content

tetherto/qvac-registry-vcpkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

194 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QVAC vcpkg Registry

A vcpkg custom registry used by QVAC projects. It provides versioned ports for inference, TTS, and supporting libraries, including some packages not available (or not at the versions we need) in the official vcpkg registry.

What’s in this registry

  • QVAC packages: qvac-lib-inference-addon-cpp, qvac-lint-cpp
  • Inference / ML: llama-cpp, whisper-cpp, onnxruntime, onnx, tokenizers-cpp, sentencepiece
  • Build / runtime deps: vcpkg-cmake, vcpkg-cmake-config, vcpkg-cmake-get-vars, abseil, eigen3, opencl, opencl-headers, protobuf, pybind11, xnnpack, and others

Exact versions and baselines are defined in versions/baseline.json.

Prerequisites

  • vcpkg (manifest mode or classic)
  • For manifest mode: a vcpkg.json in your project
  • For classic mode: a vcpkg installation and use of vcpkg install from a vcpkg root

Setup: use this registry in your project

  1. Use the canonical registry URL
    https://github.com/tetherto/qvac-registry-vcpkg.git

  2. Configure the registry in your project so vcpkg can find it.

    Manifest mode
    Add a vcpkg-configuration.json next to your project’s vcpkg.json (or in your vcpkg root), for example:

    {
      "registries": [
        {
          "kind": "git",
          "repository": "https://github.com/tetherto/qvac-registry-vcpkg.git",
          "baseline": "main",
          "packages": [
            "qvac-lib-inference-addon-cpp",
            "qvac-lint-cpp",
            "llama-cpp",
            "whisper-cpp",
            "piper",
            "onnxruntime"
          ]
        }
      ]
    }

    To allow all packages from this registry (and still use the official registry for everything else), set:

    "packages": ["*"]

    Classic mode
    Create or edit vcpkg-configuration.json in your vcpkg installation root (e.g. vcpkg_installed or your clone of vcpkg) with the same registries block as above.

  3. Declare dependencies in your project’s vcpkg.json (manifest mode) or install them via the CLI (classic mode), e.g.:

    "dependencies": [
      "qvac-lib-inference-addon-cpp",
      "llama-cpp"
    ]

    Then run your usual vcpkg install/build (e.g. CMake with vcpkg toolchain, or vcpkg install).

Summary

Step Action
1 Ensure vcpkg is installed and your project uses it (manifest or classic).
2 Add this registry in vcpkg-configuration.json with kind: "git", repository: https://github.com/tetherto/qvac-registry-vcpkg.git, and a baseline (e.g. main or a commit/tag).
3 List needed packages in "packages" or use ["*"] to allow all.
4 Add the ports you need in your vcpkg.json or install them via the vcpkg CLI.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages