aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Rollback of commit 82d43279f93d95e4c41b4bc598a3cc05ddd1ae1a.Gravatar Laszlo Csomor2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks TensorFlow and other Bazel jobs on ci.bazel.io *** Original change description *** Change execution root for external repositories to be ../repo Some of the important aspect of this change: * Remote repos in the execution root are under output_base/execroot/repo_name, so the prefix is ../repo_name (to escape the local workspace name). * Package roots for external repos were previously "output_base/", they are now output_base/external/repo_name (which means source artifacts always have a relative path from their repository). * Outputs are under bazel-bin/external/repo_name/ (or similarly under genfiles). Note that this is a bit of a change from how this was implemented in the previous cl. Fixes #1262. RELNOTES[INC]: Previously, an external repository would be symlinked into the execution root at execroot/local_repo/external/remote_repo. This changes it to be at execroot/remote_repo. This may break genrules/Skylark actions that hardcode execution root paths. If this causes breakages for you, ensure that genrules are using $(location :target) to access files and Skylark rules are using http://bazel.io/docs/skylark/lib/File.html's path, dirname, etc. functions. Roll forward of bdfd58a. -- MOS_MIGRATED_REVID=133709658
* Expose processor classpath and classnames to Skylark.Gravatar Dmitry Lomov2016-09-21
| | | | | -- MOS_MIGRATED_REVID=133704700
* Reintroduce .bazelrc and set --action_env defaultsGravatar Klaus Aehlig2016-09-21
| | | | | | | | | | | | | Shipping a .bazelrc was removed in 009b48bcfaf4ebb17f9ab03bea9036cfa3c12ff0. However, as per our "Specifying environment variables for actions" design document, we want to ship a global rc file specifying the common environment variables to be inherited. So revert that change and add the desired entries to the global bazelrc file we're shipping. -- Change-Id: Ib763677a951e1264ae92954df9b831374594d8b7 Reviewed-on: https://bazel-review.googlesource.com/#/c/6113 MOS_MIGRATED_REVID=133704608
* Adding a remote gRPC cache server to wrap Hazelcast. Useful to test theGravatar Ola Rozenfeld2016-09-21
| | | | | | | prototype. -- MOS_MIGRATED_REVID=133704420
* Disables sandbox for this long action.Gravatar Yue Gan2016-09-21
| | | | | -- MOS_MIGRATED_REVID=133704005
* Basic implementation of a remote gRPC based cache.Gravatar Ola Rozenfeld2016-09-21
| | | | | | | TODO during review: add A LOT more tests! -- MOS_MIGRATED_REVID=133702188
* Added integration test for linaro c++ toolchain exampleGravatar Xin Gao2016-09-21
| | | | | | | -- Change-Id: I28a6ffa185ac604948c057ead67eb890723855e4 Reviewed-on: https://bazel-review.googlesource.com/#/c/6052/ MOS_MIGRATED_REVID=133700227
* Implemented declared providers interface #1727Gravatar Vladimir Moskva2016-09-21
| | | | | -- MOS_MIGRATED_REVID=133699895
* Add an info item to show the currently inherited client environmentGravatar Klaus Aehlig2016-09-21
| | | | | | | | | | | | | Add 'bazel info client-env' which outputs entries for the configuration file that would freeze the current client environment. The main intended use case is to use 'bazel info client-env >> .bazelrc' to keep the project reproducible once a suitable value for the environment variables that used to be taken from the client environment has been found. -- Change-Id: Ib4d14dd824d223f335a4d4de04ee21c4a3ec4d83 Reviewed-on: https://bazel-review.googlesource.com/#/c/6112 MOS_MIGRATED_REVID=133699234
* Add flag --nosandbox/--no_sandbox/--no-sandbox to disable sandbox.Gravatar Yue Gan2016-09-21
| | | | | -- MOS_MIGRATED_REVID=133697962
* Fix a typo.Gravatar Lukacs Berki2016-09-21
| | | | | -- MOS_MIGRATED_REVID=133697898
* Stop redirect chasing through filegroup() rules.Gravatar Lukacs Berki2016-09-21
| | | | | -- MOS_MIGRATED_REVID=133697858
* Fix Bazel failing to build anything when its workspace or output base is in ↵Gravatar Philipp Wollermann2016-09-21
| | | | | | | | | | | | | /tmp. Add "-b" option to linux-sandbox to explicitly bind mount files / directories into the sandbox. This is used to pull in the workspace and output base of Bazel even when they're located in /tmp and would thus be hidden by the tmpfs we mount on the /tmp directory in the sandbox. Add "-S" option to linux-sandbox to explicitly specify a temporary directory to be used to contain the sandbox. This can be created by Bazel and then removed more reliably, compared to the earlier behavior where the sandbox would create its own temporary root directory in /tmp/sandbox.XXXXXX (and fail to delete it in case it gets killed by a signal). Fix spurious empty.XXXXXX files and directories not being deleted from /tmp. -- MOS_MIGRATED_REVID=133695992
* Description redacted.Gravatar Laurent Le Brun2016-09-21
| | | | | -- MOS_MIGRATED_REVID=133693782
* Stop using deprecated add method in AarImport.javaGravatar Adam Michael2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133644468
* Uses the same filename generation algorithm as the Protobuf version.Gravatar Sergio Campama2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133634326
* Enable the generation of Objc protos in whichever host machine it is running.Gravatar Sergio Campama2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133629682
* This change adds two implicit outputs to the AndroidBinary rule that are ↵Gravatar Googler2016-09-20
| | | | | | | | | | produced by ProGuard: - The list of dead code in the input class files (-printusage). - The list of classes and class members matched by the various '-keep' options (-printseeds). -- MOS_MIGRATED_REVID=133628437
* Fixed symbolic link and hard link path not stripped when "strip_prefix" is set.Gravatar Xin Gao2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133628392
* Introduce NamedForkJoinPool, a ForkJoinPool with named worker threads.Gravatar Nathan Harmata2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133624676
* Replace HOST_CFG with "host" as the former has been marked as deprecated.Gravatar Sergio Campama2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133618837
* Change default of --[no]instrument_test_targets to falseGravatar Googler2016-09-20
| | | | | | | | | | | Also change --instrumentation_filter defaults to not exclude targets whose names end with "_test" or "Tests", preferring instead to exclude only the direct sources of test rules by default, regardless of name. The javatests directory is still excluded. (That default is tweaked to exclude only targets somewhere below a directory named javatests, instead of any target containing "javatests" as a substring.) RELNOTES: Change default of --[no]instrument_test_targets to false, change default --instrumentation_filter (which previously tried to exclude test targets by heuristic) to only exclude targets in javatests. -- MOS_MIGRATED_REVID=133618501
* Move ThinLTO indexing and backend options to Crosstool feature configurationGravatar Googler2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133609638
* Change execution root for external repositories to be ../repoGravatar Kristina Chodorow2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | Some of the important aspect of this change: * Remote repos in the execution root are under output_base/execroot/repo_name, so the prefix is ../repo_name (to escape the local workspace name). * Package roots for external repos were previously "output_base/", they are now output_base/external/repo_name (which means source artifacts always have a relative path from their repository). * Outputs are under bazel-bin/external/repo_name/ (or similarly under genfiles). Note that this is a bit of a change from how this was implemented in the previous cl. Fixes #1262. RELNOTES[INC]: Previously, an external repository would be symlinked into the execution root at execroot/local_repo/external/remote_repo. This changes it to be at execroot/remote_repo. This may break genrules/Skylark actions that hardcode execution root paths. If this causes breakages for you, ensure that genrules are using $(location :target) to access files and Skylark rules are using http://bazel.io/docs/skylark/lib/File.html's path, dirname, etc. functions. Roll forward of bdfd58a. -- MOS_MIGRATED_REVID=133606309
* Add minimum OS, simulator version, and simulator device flags for tvOS and ↵Gravatar Googler2016-09-20
| | | | | | | | | | | watchOS. Currently, the minimum watchOS version is always fixed to the SDK version being used, which may not always be desired (for example, building with the 3.0 SDK but support running on 2.2). The watch flags aren't being used yet (nor are the tvOS flags), but will pave the way for us to fix that. The necessary CROSSTOOL support is in unknown commit. -- MOS_MIGRATED_REVID=133602832
* Compute hash of path instead, then create symlink only if it doesn't exist.Gravatar Googler2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133594609
* Remove mention of non-existent bazel flag.Gravatar Laszlo Csomor2016-09-20
| | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/1763 -- MOS_MIGRATED_REVID=133594557
* Description redacted.Gravatar Ola Rozenfeld2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133584935
* Improving getAllDigests to remove duplicates.Gravatar Ola Rozenfeld2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133580990
* Open-source java_integration_testGravatar Laszlo Csomor2016-09-19
| | | | | -- MOS_MIGRATED_REVID=133576201
* Catch StatusRuntimeException in the Cancel() RPC.Gravatar Lukacs Berki2016-09-19
| | | | | | | This avoids a server crash if the client gets killed before the server responds to the cancel message. -- MOS_MIGRATED_REVID=133574767
* Update protobuf README.Gravatar Laszlo Csomor2016-09-19
| | | | | | | | | | | - Remove mention of non-existent proto compiler - Add info about updating protobuf.bzl and BUILD files Fixes https://github.com/bazelbuild/bazel/pull/1769#issuecomment-247966248 Fixes https://github.com/bazelbuild/bazel/issues/1790 -- MOS_MIGRATED_REVID=133572313
* Fix broken link due to googlecode retirement.Gravatar Paul Cody Johnston2016-09-19
| | | | | | | | | | The previous link to the gtest-1.7.0 zip was broken, making it difficult for a user to follow-along with the documentation. Project has been moved to github, links and prefixes updated accordingly. Closes #1688. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1688 MOS_MIGRATED_REVID=133572103
* gitingore bazel-io_bazel symlinkGravatar Klaus Aehlig2016-09-19
| | | | | | | -- Change-Id: I79da5f3a2dce50f6ad7ceadde0f3b4ec72f012de Reviewed-on: https://bazel-review.googlesource.com/#/c/6111 MOS_MIGRATED_REVID=133571156
* Add refresh and upgrade/downgrade to pacman command.Gravatar Dillon Cower2016-09-19
| | | | | | | | | | This fixed issue #947 for me. Closes #1652. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1652 MOS_MIGRATED_REVID=133564534
* Also copy directories as output for sandbox.Gravatar Yue Gan2016-09-19
| | | | | -- MOS_MIGRATED_REVID=133564429
* Remove an unused method from BuildConfiguration.Gravatar Lukacs Berki2016-09-19
| | | | | -- MOS_MIGRATED_REVID=133557457
* Don't record implicit lambda parameters as direct type usesGravatar Liam Miller-Cushon2016-09-19
| | | | | | | | | javac fakes up a type int the AST for implicitly typed lambda parameters, and uses JCLambda#paramKind to distinguish between implicit and explicit types. We only want to record explicit lambda parameter types as direct uses in SJD. -- MOS_MIGRATED_REVID=133446081
* Description redacted.Gravatar Googler2016-09-19
| | | | | -- MOS_MIGRATED_REVID=133442221
* Java 8 support for Android builds, initially with incremental dexing only.Gravatar Googler2016-09-19
| | | | | -- MOS_MIGRATED_REVID=133436157
* Changed stdredirect.dylib build so that it is codesigned using an adhocGravatar Dave MacLachlan2016-09-19
| | | | | | | | codesignature. This appears to be sufficient to allow the Xcode 8 build system to trust it. -- MOS_MIGRATED_REVID=133426675
* Enable aspect invocations to be matched by output filters.Gravatar Michael Staib2016-09-19
| | | | | | | | | | | | | Currently aspects have no tag, i.e., they don't get checked against output filters at all. This changes aspects to have a tag of the same form as the rule they are attached to (i.e., the label of the target). Since the default output filters match on ^//package[:/], this should cover most uses of the output filter, while still allowing for finer control for those who crave it. -- MOS_MIGRATED_REVID=133425215
* Add deprecation support to Bazel.Gravatar Michael Staib2016-09-19
| | | | | | | | | | | | | | | | | | Bazel has always had a deprecation attribute, but until now it has been a no-op. After this change, Bazel will warn when a target with the deprecated attribute unset depends on one with the deprecated attribute set. Like all other warnings, this warning will only be displayed when it matches the output filter. It is also bypassed if the two targets are in the same package. RELNOTES: The deprecation attribute of all rules now causes warnings to be printed when other targets depend on a target with that attribute set. -- MOS_MIGRATED_REVID=133415232
* Clarify the intermediate outputs handling in swift_libraryGravatar Dmitry Shevchenko2016-09-19
| | | | | | | * Also rename the partial swift module outputs so they don't clash with final modules. -- MOS_MIGRATED_REVID=133410717
* Adds no_match_error documentation to select, example usage.Gravatar Greg Estren2016-09-19
| | | | | -- MOS_MIGRATED_REVID=133401134
* Remove nonexistent global variable from test.Gravatar Greg Estren2016-09-19
| | | | | -- MOS_MIGRATED_REVID=133395817
* Allow configuring writing of command.logGravatar Michajlo Matijkiw2016-09-19
| | | | | | | | Sometimes, especially in the case of a lot of output, one may not want to write everything twice. -- MOS_MIGRATED_REVID=133388416
* Adds mnemonics and progress messages for aar_import actions.Gravatar Adam Michael2016-09-19
| | | | | -- MOS_MIGRATED_REVID=133386705
* Add a specialized TransitiveInfoProviderMap to map TransitiveInfoProviders ↵Gravatar Googler2016-09-19
| | | | | | | | | | | | by class. TransitiveInfoProviderMap enforces that the provider implements the interface it's keyed by and provides accessors the reduce the amount of casting. This in general reduces boilerplate throughout wherever TransitiveInfoProviders are mapped by their class. Also add shorthand for adding a provider where it only implements TransitiveInfoProvider once, reducing the redundant specification of the TransitiveInfoProvider class. Infer the class as the exclusive direct implementor of TransitiveInfoProvider to account for special cases like AutoValue and LicenseProvider. -- MOS_MIGRATED_REVID=133386336
* Increase test size to "large" for maven_test, experimental_ui_test and ↵Gravatar Philipp Wollermann2016-09-16
| | | | | | | ide_info_generation. -- MOS_MIGRATED_REVID=133374355