-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the same output base for Xcode Build and Index Build
By using `--preemptible` Bazel flag on Index Builds, normal builds will cause them to cancel instead of block for them. This along with Xcode’s default interrupt means that Index Builds are able to use the same output base with minimal impact to normal builds. This change has numerous benefits: - Indexing completes faster since it can reuse any normal builds that have happened, including analysis - Normal builds complete faster because it can leverage the work done by background Index Builds - Quickly open won’t show two source paths anymore for generated files, since there is now only one path - With only one output base, disk usage is drastically cut down - There is one less Bazel server, so memory usage is drastically cut down Signed-off-by: Brentley Jones <[email protected]>
- Loading branch information
1 parent
1588079
commit 651b15a
Showing
19 changed files
with
221 additions
and
357 deletions.
There are no files selected for viewing
350 changes: 172 additions & 178 deletions
350
examples/integration/test/fixtures/bwb.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
55 changes: 26 additions & 29 deletions
55
examples/rules_ios/test/fixtures/bwb.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.