-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Align CLI flags with Xcode When doing a build from the CLI it should align with what Xcode is doing This is also required to make sure `xchammer_dev_repo` points to the right place Additionally, I've made a few improvements and added better guidance on debugging
- Loading branch information
1 parent
d0f04e6
commit eabd210
Showing
2 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
# A few settings for XCHammer's .bazelrc | ||
# Notes: | ||
# Debugging: Use the remapping feature of rules_swift. | ||
# cpu: This needs to be set to align with what Xcode is using | ||
# compilation_mode: This is overriden for release in Xcode | ||
build \ | ||
--compilation_mode dbg \ | ||
--announce_rc \ | ||
--spawn_strategy=standalone \ | ||
--strategy=SwiftCompile=worker \ | ||
--swiftcopt=-Xwrapped-swift=-debug-prefix-pwd-is-dot \ | ||
--experimental_strict_action_env=true | ||
--experimental_strict_action_env=true \ | ||
--cpu darwin_x86_64 \ | ||
--experimental_show_artifacts |
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