Skip to content

feat(libfreetpu): expose canonical libfreetpu library, freetpu.h, and CMake package - #54

Merged
saariuslystoned merged 1 commit into
mainfrom
feat/libfreetpu-surface
Dec 4, 2026
Merged

saariuslystoned merged 1 commit into
mainfrom
feat/libfreetpu-surface

Conversation

@saariuslystoned

Copy link
Copy Markdown
Collaborator

Exposes libfreetpu.a, freetpu.h, and freetpuConfig.cmake (freetpu::freetpu) alongside the existing openbuenos targets (compiled once via openbuenos_obj, zero duplicate compilation, 100% backward compatible).

This gives external consumers like llama.cpp (ggml-freetpu) a single canonical FREETPU_ROOT / find_path(freetpu.h) / find_library(freetpu) surface.

Proof

  • Built and tested with ctest on AppleClang 21: 5/5 tests passed (openbuenos_host_test, tpu_soc_probe_mock, openbuenos_adversarial_test, ob_quant_unpack_test, openbuenos_pool_guards_test).
  • Verified cmake --install installs include/freetpu.h, lib/libfreetpu.a, and lib/cmake/freetpu/freetpuConfig.cmake.

@saariuslystoned
saariuslystoned merged commit f6ee3e8 into main Dec 4, 2026
3 checks passed
@saariuslystoned
saariuslystoned deleted the feat/libfreetpu-surface branch December 4, 2026 15:42
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.

1 participant