| Summary: | [Android] Support parallel jobs from build_android.sh | ||
|---|---|---|---|
| Product: | SDL | Reporter: | ny00 |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | gabomdq |
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
| Attachments: | Addition of parallel jobs support to androidbuild.sh | ||
Thanks! I added a variant of this with number of CPU cores autodetection like we do in other scripts. https://hg.libsdl.org/SDL/rev/8af2b2344e9e |
Created attachment 1427 [details] Addition of parallel jobs support to androidbuild.sh With the attached patch applied, it is possible to call androidbuild.sh in such a way that arguments like "-j 5" are passed to ndk-build, resulting in parallel jobs. I suppose this can be generalized to pass more kinds of arguments to ndk-build, but since androidbuild.sh already expects some other arguments, and it should remain simple, this is probably sufficient for now.