aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osx/xcode_configure.bzl
Commit message (Collapse)AuthorAge
* Suggest signing xcode license if that likely inhibits xcode-locator-bin ↵Gravatar cparsons2017-06-06
| | | | | | | generation RELNOTES: None. PiperOrigin-RevId: 158066648
* Reverts non-xcode-available darwin crosstool generation.Gravatar cparsons2017-05-31
| | | | | RELNOTES: None. PiperOrigin-RevId: 157529642
* Rollforward #2 of: Basic open-source crosstool to support targeting apple ↵Gravatar cparsons2017-05-04
| | | | | | | platform types. RELNOTES: None. PiperOrigin-RevId: 154993630
* Automated g4 rollback of commit 5038016e6573962d2554fcf9c10faa0cca8714e2.Gravatar dmarting2017-05-02
| | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Broke rules_go and all its dependencies: http://ci.bazel.io/job/rules_web/BAZEL_VERSION=HEAD,PLATFORM_NAME=darwin-x86_64/464/console http://ci.bazel.io/job/rules_go/BAZEL_VERSION=HEAD,PLATFORM_NAME=darwin-x86_64/823/console http://ci.bazel.io/job/buildifier/BAZEL_VERSION=HEAD,PLATFORM_NAME=darwin-x86_64/557/console Bisected with `bazel build ...` in rules_go The error message is still -whole-archive appearing in rules_go. *** Original change description *** Rollforward of: Basic open-source crosstool to support targeting apple platform types. RELNOTES: None. PiperOrigin-RevId: 154825240
* Rollforward of: Basic open-source crosstool to support targeting apple ↵Gravatar cparsons2017-04-28
| | | | | | | platform types. RELNOTES: None. PiperOrigin-RevId: 154547417
* Prefixes xcodebuild with xcrun in order to avoid getting erroneous results ↵Gravatar Sergio Campama2017-02-23
| | | | | | | | when detecting the installed Xcode versions. -- PiperOrigin-RevId: 148277514 MOS_MIGRATED_REVID=148277514
* Further improve error handling of xcode_configure.bzlGravatar Chris Parsons2017-02-22
| | | | | | | | | - Print developer_dir when an error occurs during getting a specific xcode's SDK info - Increase process timeouts from 5 seconds to 30 seconds. (There are some preliminary reports that users on slower Macs may be reaching this timeout on occasion) -- PiperOrigin-RevId: 148135624 MOS_MIGRATED_REVID=148135624
* Improve xcode-configure error messaging, and use "env -i" to clear ↵Gravatar Chris Parsons2017-02-17
| | | | | | | | environment for various processes -- PiperOrigin-RevId: 147780864 MOS_MIGRATED_REVID=147780864
* Fixes for generating xcode-locator-bin on Tulsi.Gravatar Chris Parsons2016-11-07
| | | | | | | Clear certain environment variables on xcrun invocation to generate xcode-locator-bin, and provide additional error output if the invocation should fail. -- MOS_MIGRATED_REVID=138221908
* Check "xcodebuild -version" first before building the xcode locator.Gravatar Chris Parsons2016-10-05
| | | | | | | This prevents a warning on machines which have no xcode versions installed. -- MOS_MIGRATED_REVID=135131956
* In local_xcode_config rule, when xcode-locator-bin fails (generally due to ↵Gravatar Chris Parsons2016-09-21
| | | | | | | xcode not being installed), create a stub xcode_version target instead of a malformed one. -- MOS_MIGRATED_REVID=133709696
* Fix error message to actually use python string formattingGravatar Kristina Chodorow2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | This is using printf-style formatting, which Python happily accepts and ignores. Part of #1750: now, instead of printing ``` xcode_configure.bzl:57:5: Invoking xcodebuild failed, return code %s, stderr: %s 1 ``` it prints: ``` xcode_configure.bzl:57:5: Invoking xcodebuild failed, return code 1, stderr: xcrun: error: missing DEVELOPER_DIR path: E.g. no application claims the file" ``` Closes #1751. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1751 MOS_MIGRATED_REVID=132884125
* xcode_configure repository rule for determining locally installed versions ↵Gravatar Chris Parsons2016-09-01
of xcode to select between, relaxing the requirement that users specify --xcode_version and --ios_sdk_version even if they have only one version installed. RELNOTES: On mac devices, detect locally installed versions of xcode to: 1. Use a sensible default if xcode is required but --xcode_version is unspecified. 2. Use sensible default iOS SDK version for the targeted version of xcode if ios_sdk_version is unspecified. -- MOS_MIGRATED_REVID=131841587