Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26306] Android: Support faster SDK builds with parallel execution '-j' on Windows

GitHub Issuen/a
TypeImprovement
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2018-08-20T15:59:42.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.5.0
ComponentsAndroid
Labelsandroid, ant, ndk, sdk, windows
ReporterJoshua Quick
AssigneeJoshua Quick
Created2018-08-15T04:01:37.000+0000
Updated2018-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.

Comments

  1. Joshua Quick 2018-08-15

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/10257
  2. Josh Longton 2018-10-22

    *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}

JSON Source