-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
A typical CI build produces a fat dynamic framework compiled for five architectures (arm64, armv7, armv7s, x86_64, i386). Additionally,
We do use “DWARF with dSYM File” as the debug information format, but build rules other than
We don’t use -O4. The core targets use -O0 for Debug builds and -O3 for Release builds. In #3183, I changed the iOS targets to use -Os for Release builds, drastically reducing the size of the build. |
Until we can build iOS on CI infrastructure that supports parallelization across a build matrix, I think we should limit per-push builds to a single architecture and target configuration. Since we want to run tests in the simulator, this should be the architecture that the simulator requires ( |
👍 So we should bring back the old |
Well, I was thinking more of changing |
Surprisingly, this appears to be |
Down to ~500 seconds with these changes. 🎉 |
5845403
to
e37e08d
Compare
The iOS build is topping out our build times at 30+ minutes.
We should investigate how to bring this down to the range of other builds (10-15 minutes).
Here's one thing to try: https://labs.spotify.com/2013/11/04/shaving-off-time-from-the-ios-edit-build-test-cycle/