Package: wnpp
Severity: wishlist
Owner: Lukas Märdian <[email protected]>
X-Debbugs-Cc: [email protected], [email protected], 
[email protected]

* Package name    : qaic
  Version         : 1.0.0
  Upstream Contact: https://github.com/qualcomm/qaic/issues
* URL             : https://github.com/qualcomm/qaic
* License         : BSD-3-Clause-Clear, BSD-3-Clause, BSD-2-Clause
  Programming Lang: Haskell
  Description     : IDL compiler for Qualcomm FastRPC remote interfaces

 QAIC (Qaic's Another IDL Compiler) translates interface definition
 language (IDL) files into C code for the FastRPC framework, which lets
 programs on the application processor call functions that run on a
 Qualcomm Hexagon DSP.
 .
 For each interface it generates a C header, a stub that is linked into
 the program on the application processor and marshals the arguments, and
 a skeleton that is linked into the library on the DSP and unmarshals them
 before it calls the implementation.

Until now qaic was only available as a proprietary x86-64 binary in the
Hexagon SDK. Qualcomm has published its source under BSD-3-Clause-Clear,
so FastRPC interfaces can now be built with free software only.

Packaging qaic fills a gap next to fastrpc, which is already in Debian:
- fastrpc ships stubs and skeletons that were generated upstream with
  qaic. With qaic in the archive, they can be generated at build time.
- It is the first step towards building ggml's Hexagon backend (local
  LLM inference on Snapdragon NPUs, used by llama.cpp) in Debian without
  the Hexagon SDK.
- Developers can build their own FastRPC interfaces against
  libfastrpc-dev without the SDK.

The package builds with the ghc and libghc-syb-dev already in the archive.
On arm64, the build-time tests and autopkgtests compile the generated code
against libfastrpc-dev.

Co-maintainers, including the Haskell team, are welcome.

Reply via email to