[TIMOB-26306] Android: Support faster SDK builds with parallel execution '-j' on Windows
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-08-20T15:59:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.5.0 |
Components | Android |
Labels | android, ant, ndk, sdk, windows |
Reporter | Joshua Quick |
Assignee | Joshua Quick |
Created | 2018-08-15T04:01:37.000+0000 |
Updated | 2018-10-22T10:29:08.000+0000 |
Description
When building the Titanium SDK (ie: titanium_mobile) on Mac, the Android NDK will build the C/C++ library with the
-j8
command line argument. This enables "parallel execution" of up to 8 build tools to be ran in parallel, allowing for faster build times.
On Windows, this feature is purposely disabled due to file locking errors caused by dependency order and code generation issues in the make file. These issues should be resolved for faster build times on Windows.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/10257
*Closing ticket.* Builds on windows were ~3 minutes which is over half the time it previously took. *ENV* {noformat} macOS(10.14) Windows 10 Pro (15063) Appc NPM: 4.2.13 Appc CLI: 7.0.6 Ti CLI: 5.1.1 Node: 8.12.0 NPM: 6.4.1 {noformat}