Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mudler/parakeet.cpp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: mudler/parakeet.cpp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.2
Choose a head ref
  • 1 commit
  • 2 files changed
  • 3 contributors

Commits on Jun 17, 2026

  1. ci(release): ship the C-API shared library and header (#25) (#29)

    The release bundles only carried parakeet-cli, so integrating via
    ctypes/dlopen meant compiling from source. Add a separate shared-library
    bundle per (platform, backend, arch) alongside each CLI bundle.
    
    The lib is built in its own build dir with PARAKEET_SHARED=ON and
    PARAKEET_BUILD_CLI=OFF, so the CLI bundles stay single self-contained
    binaries. Each lib bundle carries libparakeet.{so,dylib,dll}, the
    parakeet_capi.h header, LICENSE and README (plus the same cudart/cublas
    on CUDA). The release job already globs dist/*, so they attach with no
    further change.
    
    Two things that would have silently broken it:
    
    - BUILD_SHARED_LIBS=OFF builds ggml's static objects without -fPIC, so
      folding them into a shared lib fails to link on Linux. The shared-lib
      configure steps set CMAKE_POSITION_INDEPENDENT_CODE=ON.
    
    - The C-API header marks symbols with plain extern "C", no dllexport, so
      an MSVC DLL would export nothing. Set WINDOWS_EXPORT_ALL_SYMBOLS on the
      parakeet target when PARAKEET_SHARED is on. No effect on Linux/macOS.
    
    Verified on Linux CPU: a self-contained libparakeet.so depending only on
    standard system libs, with the parakeet_capi_* symbols exported.
    
    Co-authored-by: Ettore Di Giacinto <[email protected]>
    Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
    3 people authored Jun 17, 2026
    Configuration menu
    Copy the full SHA
    fa5aeef View commit details
    Browse the repository at this point in the history
Loading