Skip to content

build(release),refactor(freetpu): switch AAR publish to Central Portal and complete libfreetpu rename - #61

Open
saariuslystoned wants to merge 2 commits into
mainfrom
feat/central-portal-and-libfreetpu-align
Open

saariuslystoned wants to merge 2 commits into
mainfrom
feat/central-portal-and-libfreetpu-align

Conversation

@saariuslystoned

@saariuslystoned saariuslystoned commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes the Maven Central release pipeline blockers and completes a clean-break replacement of libopenbuenos / openbuenos with libfreetpu (freesilicon/freetpu) across freesched (keeping only historical live-hardware captures under proof/ untouched).

Release Pipeline (freesched-android Prefab AAR)

  • android-aar/build.gradle.kts:
    • Replace sunset s01.oss.sonatype.org Maven publishing repository with local staging (build/staging-repo).
    • Pin ndkVersion = "27.0.12077973" to match the NDK installed in .github/workflows/release-prefab-aar.yml.
    • Use 2-arg useInMemoryPgpKeys(signingKey, signingPassword) (avoids Gradle rejecting 16-char GPG_KEY_ID).
  • .github/workflows/release-prefab-aar.yml:
    • Stage via publishReleasePublicationToLocalStagingRepository, strip maven-metadata.xml*, verify .aar/.pom/-sources.jar/-javadoc.jar + checksums + .asc signatures, zip the versioned artifact directory, and upload via Sonatype Central Portal https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC.

Full libopenbuenos -> libfreetpu Swap

  • Backend & Build: Renamed src/fs_backend_openbuenos.cpp -> src/fs_backend_freetpu.cpp; updated CMakeLists.txt, Makefile, and android/src/main/cpp/CMakeLists.txt to accept FREETPU_ROOT / FREETPU_DIR / FREESCHED_FREETPU_DIR, link libfreetpu / freetpu.h, and define FREESCHED_HAVE_LIBFREETPU=1 (legacy OPENBUENOS_DIR / libopenbuenos removed).
  • Public C API & Consumers: Renamed fs_openbuenos_* / fs_backend_*openbuenos* -> fs_freetpu_config_t, fs_freetpu_profile_t, fs_freetpu_config_default(), fs_backend_register_freetpu(), fs_backend_freetpu_prepack_op(), fs_backend_freetpu_get_profile() across include/freesched.h, src/, tests/, tools/, docs/ANDROID_PLAYBOOK.md, and scripts/.
  • Bench & Receipt Tooling: Updated tools/volcanic_tpu_token_loop_bench.cpp (--tpu-backend freetpu), scripts/token_loop_receipt.py, and tests/token_loop_json_check.py to expect FREESCHED_FREETPU_DIR / libfreetpu.a / FREESCHED_HAVE_LIBFREETPU=1 while preserving committed PR feat(bench): live Tensor G6 GPU<->EdgeTPU multi-layer token loop with r_iif fence chain #59 historical proof/ verification.

Verification

  • make clean && make test — passed
  • ./scripts/verify-android-playbook-smoke.sh — passed
  • cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j && ctest --test-dir build --output-on-failure — 68/68 passed
  • ./scripts/clean-room-audit.sh — passed (270 files, 0 errors)

@saariuslystoned saariuslystoned changed the title build(release,freetpu): switch AAR publish to Central Portal and align libfreetpu linking build(release),refactor(freetpu): switch AAR publish to Central Portal and complete libfreetpu rename Dec 4, 2026
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