Skip to content

refactor repo to make it modular and use docker#21

Merged
HomuHomu833 merged 29 commits into
HomuHomu833:mainfrom
HomuHomu833-garbage:main
Jun 2, 2026
Merged

refactor repo to make it modular and use docker#21
HomuHomu833 merged 29 commits into
HomuHomu833:mainfrom
HomuHomu833-garbage:main

Conversation

@HomuHomu833

Copy link
Copy Markdown
Owner

No description provided.

HomuHomu833 and others added 29 commits May 31, 2026 17:28
Mirror the llvm-custom build setup: a prebuilt ndk-builder image bakes the
toolchains (zig, llvm-mingw, zig-as-llvm) plus p7zip + python3.11, and a single
env-driven scripts/make-ndk.sh does build-deps + assemble + archive for all four
platforms. The four make_ndk_* workflows become thin callers of a reusable
make-ndk.yml that runs the script in the container.

Behavior is preserved 1:1 (per-platform flags, host-dir renames, cmake/ndk
fixups, archive formats). zig is added to PATH so the zig-as-llvm wrappers
resolve it (previously provided by the setup-zig action).

- docker/Dockerfile, .github/workflows/docker-image.yml: build + publish image
- scripts/make-ndk.sh: orchestrator, case "$PLATFORM"
- .github/workflows/make-ndk.yml: reusable matrix workflow
- make_ndk_{bionic,musl,bsd,windows}.yml: thin callers

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
build_python() does mkdir -p build but never cd build, so
--prefix=\C:\Users\Homura\GitHub\android-ndk-custom-experimental/build resolves to \/python/build/, putting
the installed binary at build/bin/python3.11. The old paths
referenced build/python which never existed.

Also removed the || echo WARNING on make build_all so build
failures are no longer silently masked.
@HomuHomu833 HomuHomu833 merged commit 7e8e813 into HomuHomu833:main Jun 2, 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