This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
Only build active architecture in Xcode - #7388
Merged
Merged
Conversation
Member
Author
|
Also note that |
1ec5
approved these changes
Dec 12, 2016
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trying to land #7131 as separate PRs to make the changes easier to reason about.
This changes the default setting to only build the active architecture (i.e. they for the device you connected to your Mac). This cuts build time in half since we don't need to build the other architecture when iterating.
On CI, and for
make ipackage/iframework, we are using thepackage.shscript which already forcesONLY_ACTIVE_ARCH=NOand ensures that both architectures get built, so we can discover build-time issues for different architectures. Similarly, running other iOS-related make targets that build for Simluator already forceONLY_ACTIVE_ARCH=YES. This means that this change only affects what is being built when you use Xcode to manually compile apps; automated builds are unaffected by this change.