forked from upstream-mirrors/OrcaSlicer
733616d4b3
The committed script could not produce a working deps/build-android prefix: - It built dep_Blosc/dep_OpenEXR/dep_OpenVDB, but OpenVDB is SLA-hollowing only, gated behind SLIC3R_OPENVDB (OFF); with SLIC3R_CAD=OFF the superbuild emits no such targets, so ninja failed with "unknown target 'dep_Blosc'". - It listed a non-existent "FREETYPE" target. The main project resolves FreeType with find_package(Freetype REQUIRED) and there is no arm64 system freetype, so cross-build FreeType into the prefix (static, optional deps off) from the prefetched source, mirroring build-native.sh's download. - OpenSSL's Perl Configure reads ANDROID_NDK_ROOT (not ANDROID_NDK_HOME); export it and pass it through the step env, and cap OpenSSL-dependent deps with OMP_NUM_THREADS so OpenSSL honors the six-job budget. dep_python3 is intentionally not built: build-headless.sh links a prebuilt python.org Android CPython (ORCA_HEADLESS_PYTHON_ROOT), not the superbuild python. With these fixes the full arm64 deps prefix, orca-headless, payload and both the standard and Bambu-cloud APKs build end to end. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CbKxbSeHpxVhmWEwU8U2vE