| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** 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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133704700
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
prototype.
--
MOS_MIGRATED_REVID=133704420
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133704005
|
|
|
|
|
|
|
| |
TODO during review: add A LOT more tests!
--
MOS_MIGRATED_REVID=133702188
|
|
|
|
|
|
|
| |
--
Change-Id: I28a6ffa185ac604948c057ead67eb890723855e4
Reviewed-on: https://bazel-review.googlesource.com/#/c/6052/
MOS_MIGRATED_REVID=133700227
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133699895
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133697962
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133697898
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133697858
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133693782
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133644468
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133634326
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133629682
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133628392
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133624676
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133618837
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133609638
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133594609
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/1763
--
MOS_MIGRATED_REVID=133594557
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133584935
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133580990
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133576201
|
|
|
|
|
|
|
| |
This avoids a server crash if the client gets killed before the server responds to the cancel message.
--
MOS_MIGRATED_REVID=133574767
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
--
Change-Id: I79da5f3a2dce50f6ad7ceadde0f3b4ec72f012de
Reviewed-on: https://bazel-review.googlesource.com/#/c/6111
MOS_MIGRATED_REVID=133571156
|
|
|
|
|
|
|
|
|
|
| |
This fixed issue #947 for me.
Closes #1652.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1652
MOS_MIGRATED_REVID=133564534
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133564429
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133557457
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133442221
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133436157
|
|
|
|
|
|
|
|
| |
codesignature. This appears to be sufficient to allow the Xcode 8 build system
to trust it.
--
MOS_MIGRATED_REVID=133426675
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* Also rename the partial swift module outputs so they don't clash with final modules.
--
MOS_MIGRATED_REVID=133410717
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133401134
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133395817
|
|
|
|
|
|
|
|
| |
Sometimes, especially in the case of a lot of output, one may not want to write
everything twice.
--
MOS_MIGRATED_REVID=133388416
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133386705
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
ide_info_generation.
--
MOS_MIGRATED_REVID=133374355
|