Skip to content

refactor(libfreetpu): complete openbuenos/ob_* -> freetpu/freetpu_* clean-break purge - #58

Merged
saariuslystoned merged 1 commit into
mainfrom
feat/purge-openbuenos-to-freetpu
Dec 5, 2026
Merged

saariuslystoned merged 1 commit into
mainfrom
feat/purge-openbuenos-to-freetpu

Conversation

@saariuslystoned

Copy link
Copy Markdown
Collaborator

Summary

Completes the clean-break rename from openbuenos / ob_* / OB_* to freetpu / freetpu_* / FREETPU_* across libfreetpu, llama-cpp-edgetpu, freetile, CI workflows, packaging, and active docs (leaving only historical hardware receipts under proof/ and Tensor G5 chip/kernel ABI identifiers buenos_a0 / edgetpu_buenos_uapi.h untouched).

Changes

  • File renames (18 files): Renamed libfreetpu/src/ob_* -> libfreetpu/src/freetpu_*, libfreetpu/tests/{ob_,openbuenos_}* -> libfreetpu/tests/freetpu_*, and llama-cpp-edgetpu/openbuenos_shim.c -> llama-cpp-edgetpu/freetpu_shim.c.
  • Public & internal C/C++ API: Replaced all ob_* types/functions and OB_* macros/status codes in libfreetpu/include/freetpu.h, libfreetpu/src/*, libfreetpu/tests/*, llama-cpp-edgetpu/*, and freetile/* with freetpu_* / FREETPU_*.
  • Environment variables & CMake/Make: Replaced all OPENBUENOS_* runtime env vars (OPENBUENOS_MOCK, OPENBUENOS_DIVE_INTERP_PATH, OPENBUENOS_FREETILE, OPENBUENOS_WEIGHT_CACHE_MB, etc.) and build flags (OPENBUENOS_WITH_FREETILE, GGML_EDGETPU_LINKED_LIBOPENBUENOS) with canonical FREETPU_* equivalents — zero legacy OPENBUENOS_* fallbacks.
  • CI, packaging & docs: Updated .github/workflows/ci.yml (freetpu_shim.c), packaging/arch/PKGBUILD, README.md, and docs/* to reference libfreetpu / freetpu_* / FREETPU_*.

Verification

  • git grep -i -E 'openbuenos|\bob_[a-zA-Z0-9_]*|\bOB_[A-Z0-9_]*' -- ':!proof/' ':!ops/tpu-cdi/test_freetpu_cdi.py' -> 0 hits
  • cmake -S libfreetpu -B build-cmake -G Ninja -DCMAKE_BUILD_TYPE=Release && cmake --build build-cmake -j && ctest --test-dir build-cmake --output-on-failure -> 5/5 passed (cmake --install verified freetpu.h / libfreetpu.a / freetpuConfig.cmake)
  • make -C libfreetpu verify-header-host host test -> passed (-Wall -Wextra -Wpedantic -Werror)
  • cmake -S freetile ... && ctest -> 5/5 passed (including freetile_buenos_parity_tests and freetile_twin_tests)
  • clang -x c -std=c11 -fsyntax-only -Wall -Wextra -Werror -Ilibfreetpu/include llama-cpp-edgetpu/freetpu_shim.c -> passed
  • aot-guard CTest (2/2) + llama-cpp-cloudtpu CTest (2/2) -> passed
  • Clean-room OSS boundary audit across 229 tracked files -> passed (0 errors)

@saariuslystoned
saariuslystoned merged commit 1fb96d0 into main Dec 5, 2026
3 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.

1 participant