From 559b739f68a4f3d1d75446f4ffc22867c2fec860 Mon Sep 17 00:00:00 2001 From: GenericJam Date: Sun, 12 Jul 2026 18:50:25 -0600 Subject: [PATCH] Release 0.6.23: cpp_archive NDK resolution honors ANDROID_HOME (MOB-89) Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 16 ++++++++++++++++ mix.exs | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 205bbd8..6ed1878 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,22 @@ Full module documentation: [hexdocs.pm/mob_dev](https://hexdocs.pm/mob_dev). --- +## [0.6.23] - 2026-07-12 + +### Fixed +- **`cpp_archive` / nx_eigen NDK resolution honors `ANDROID_HOME`.** + `MobDev.Plugin.CppArchive` and `MobDev.NxEigenNif` hardcoded + `~/Library/Android/sdk/ndk/` (+ the `darwin-x86_64` host), ignoring + `ANDROID_HOME` / `ANDROID_SDK_ROOT` — so a `lang: :cpp_archive` plugin build + failed with `NDK toolchain not found` wherever the NDK lives elsewhere (CI, a + shared SDK), unlike the main `NativeBuild` path. Extracted shared + `MobDev.NdkVersion.{root,host,toolchain_bin,sysroot}/0` (on the existing + env-aware `sdk_root/0`) and routed `cpp_archive`, `nx_eigen_nif`, and + `native_build`'s `ndk_sysroot` through them — one source of truth, so the NDK + path can't diverge again. (MOB-89) + +--- + ## [0.6.22] - 2026-07-11 ### Added diff --git a/mix.exs b/mix.exs index 4a5b328..c69a203 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule MobDev.MixProject do def project do [ app: :mob_dev, - version: "0.6.22", + version: "0.6.23", elixir: "~> 1.19", description: "Development tooling for the Mob mobile framework", source_url: "https://github.com/genericjam/mob_dev",