| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
No behavior changes, for now.
--
MOS_MIGRATED_REVID=139614509
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139613925
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139613681
|
|
|
|
|
|
|
| |
for untrimmed dynamic configs.
--
MOS_MIGRATED_REVID=139612917
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. We now retry on connection failures.
a. With exponential backoff.
b. While recovering quickly from ephemeral failures.
c. While still working if internet or web server is slow.
2. We now request gzip responses from web server.
Fixed #1760
Fixed #1910
RELNOTES: External downloads now retry with exponential backoff and support gzip content-encoding.
--
MOS_MIGRATED_REVID=139612882
|
|
|
|
|
|
|
| |
(e.g. --experimental_multi_cpu).
--
MOS_MIGRATED_REVID=139607063
|
|
|
|
|
|
|
|
|
| |
This has become necessary starting with Xcode 8 although we apply the signature
in all cases. Signing is done without entitlements and with signing identity
"-".
--
MOS_MIGRATED_REVID=139606540
|
|
|
|
|
|
|
|
|
|
|
|
| |
The R class generator produces a compiled jar, not a java source file.
This means all android libraries/binaries with resources will need to
convert this jar to jack to ensure that they have access to jars.
This change will not fix Jack builds, but it is a necessary step toward
fixing them.
--
MOS_MIGRATED_REVID=139599250
|
|
|
|
|
|
|
| |
crosstool that does not support objc.
--
MOS_MIGRATED_REVID=139598484
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to also registers extra-actions.
ExtraActionArtifactsProvider was using a set of ExtraArtifactSet, whose key was derived from the label of the owner of the extra-action.
Since actions registered by Aspects have the same label as those registered by the base rule, the former ones would disappear from the set.
An alternative to this CL would be to use an ArtifactOwner instead of a label as the key of the ExtraArtifactSet, but
1. BuildView only has access to ConfiguredTarget's, which lack the information to manipulate ArtifactOwner's; and
2. I don't see what ExtraArtifactSet gains us. In particular, ExtraArtifactSet.getLabel() is not used by anything outside of ExtraArtifactSet.
The only disadvantage of this CL is that filtering (--experimental_extra_action_filter) can be slower if targets register a massive number of actions.
Before this CL, we would match a single label per rule, while after this CL we match a single label per action.
--
MOS_MIGRATED_REVID=139591862
|
|
|
|
|
|
|
| |
* The fact that this test case did not have any real Swift code caused swift-stdlib-tool to avoid packaging any runtime libraries. This situation, while virtually impossible in real world applications, is blocking the new signing logic introduced in
--
MOS_MIGRATED_REVID=139591619
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139583908
|
|
|
|
|
|
|
| |
RELNOTES: Structs in Skylark are tested for structural equality instead of reference equality.
--
MOS_MIGRATED_REVID=139583726
|
|
|
|
|
|
|
| |
build. See https://bazel-review.googlesource.com/#/c/7270/ for details.
--
MOS_MIGRATED_REVID=139580987
|
|
|
|
|
|
|
| |
--
Change-Id: I9eb4897dd65e1f63fb4a1ff59ba901f81cd2e6c0
Reviewed-on: https://cr.bazel.build/7336
MOS_MIGRATED_REVID=139580860
|
|
|
|
|
|
|
|
|
|
| |
This behavior - that 'output_groups' is a provider available
on targets and aspects - has been accidental, but people already depend
on it. This CL keeps that behavior, while fixing the bug that
two aspects could not both provide output groups.
--
MOS_MIGRATED_REVID=139578378
|
|
|
|
|
|
|
|
| |
"type", "set" and "select" should not be part of the standalone Skylark
library.
--
MOS_MIGRATED_REVID=139578095
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139576152
|
|
|
|
|
|
|
|
|
|
| |
To verify that the distribution artifact is complete, add a test
that tries to bootstrap bazel from that artifact.
--
Change-Id: I40ea0054efee9a4fa11f2c9088a076ad07d03ff2
Reviewed-on: https://bazel-review.googlesource.com/#/c/7452
MOS_MIGRATED_REVID=139575188
|
|
|
|
|
|
|
| |
--
Change-Id: I86660a0101261b42a06bb94afe0bc9f0bc5e5528
Reviewed-on: https://cr.bazel.build/6697
MOS_MIGRATED_REVID=139574326
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139573590
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139573133
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139572117
|
|
|
|
|
|
|
| |
On Windows, passing a shell script to this command will lead to a crash.
--
MOS_MIGRATED_REVID=139570957
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139569372
|
|
|
|
|
|
|
|
|
| |
This allows implementing pipe-handling in a
platform-specific way. Windows also supports pipes
but through its own API.
--
MOS_MIGRATED_REVID=139564316
|
|
|
|
|
|
|
|
|
|
|
|
| |
As suggested by @damienmg in #2006 send this out to run it with internal test.
Closes #2059 .
Progress towards #374.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2059
MOS_MIGRATED_REVID=139562084
|
|
|
|
|
|
|
| |
fixed https://github.com/bazelbuild/bazel/issues/2102
--
MOS_MIGRATED_REVID=139562049
|
|
|
|
|
|
|
| |
This should allow to use pkg_tar from project that use python 3 (e.g. TensorFlow).
--
MOS_MIGRATED_REVID=139561406
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this change:
- rename WriteFileToStreamOrDie to
WriteFileToStderrOrDie (since we only ever used it
for stderr)
- replace open/write/read/close operations with
blaze_util::ReadFile/WriteFile
- wrap ToString(getpid()) in a utility function
- move SyncFile to file_<platform>
--
MOS_MIGRATED_REVID=139560397
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139558919
|
|
|
|
|
|
|
| |
InvocationPolicyEnforcer. This showed up in profiling.
--
MOS_MIGRATED_REVID=139521927
|
|
|
|
|
|
|
|
|
|
| |
* Adds a link time option to embed bitcode, in addition to the existing compile time option.
* This does not handle Bitcode symbols, just hides them.
RELNOTES:
--
MOS_MIGRATED_REVID=139520095
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139514666
|
|
|
|
|
|
|
|
|
|
|
| |
fragments. This lets the master test configs include custom fragments that
can get injected in an overridden getRuleClassProvider().
Also adds ability to run BuildViewTestCases in any dynamic configuration
mode.
--
MOS_MIGRATED_REVID=139513822
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139508838
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139503899
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
refactoring: enabling potential fast digest computation of more than one digest function type.
Usage: bazel --host_jvm_args="-Dbazel.DigestFunction=SHA1" build ...
Ugliness: using a system property (a static non-final variable), because the better way to do it (a flag) would result in a much, much larger refactoring.
More ugliness: I have updated the minimal amount of tests. A lot of tests are still relying on the default value of MD5. Ideally, they need to be updated as well.
--
MOS_MIGRATED_REVID=139490836
|
|
|
|
|
|
|
|
|
| |
avoid memory blow-up intra-configured-target analysis, use a semaphore to ensure that CPU-bound work only occurs on #CPU-many threads.
RELNOTES: Use --loading_phase_threads to control the number of threads used during the loading/analysis phase.
--
MOS_MIGRATED_REVID=139477645
|
|
|
|
|
|
|
| |
command, to save time on the critical path of a build.
--
MOS_MIGRATED_REVID=139477157
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the build_event_stream_test write the files documenting the stream
of events to a directory obtained from `mktemp -d`; in this way, we
have a place where we can write even if run in a strictly sandboxed
environment. Fixes #2084.
--
Change-Id: Ia5c13e302f65704839ea6f9bf5e996caa0f1b35d
Reviewed-on: https://bazel-review.googlesource.com/#/c/7374
MOS_MIGRATED_REVID=139467980
|
|
|
|
|
|
|
| |
never seen a case it was useful, and it adds to startup latency by putting a file stat on the critical path of every command.
--
MOS_MIGRATED_REVID=139467038
|
|
|
|
|
|
|
|
|
|
| |
With the recent addition of structured variables to CROSSTOOL we now need a way
how to conditionally expand various flag_groups depending on the presence of
particular build variable or its fields. This cl adds this support to flag
groups.
--
MOS_MIGRATED_REVID=139466070
|
|
|
|
|
|
|
| |
Also add test to make sure jar filter handles multiple source jars correctly (which it already did).
--
MOS_MIGRATED_REVID=139462526
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Skylark already has ctx.configuration.coverage_enabled to determine if coverage data collection is on for an entire run. But that does not reveal which targets specifically are supposed to be instrumented (based on the values of --instrumentation_filer and --instrument_test_targets). This is inefficient for languages which add coverage instrumentation at compile-time, though correct coverage output can still be produced by instrumenting everything and filtering later.
By default, this function returns whether the rule represented by ctx should be instrumented. If a Skylark Target (e.g. from a label or label_list attribute in ctx.attr) is passed to the function, it instead returns whether that Target is a rule whose sources should be instrumented. Rules that directly incorporate source-files from their dependencies before compilation (e.g. header files) may need to know if those source files need to be instrumented when compiled.
Expanded the documentation of instrumented_files to be a more general section on implementing code coverage instrumentation in Skylark.
Also tweaked the code comment and variable names for the version of shouldIncludeLocalSources that takes a TransitiveInfoCollection.
RELNOTES: Add ctx.coverage_instrumented function to Skylark, to indicate whether a specific targets should be instrumented for code coverage data collection.
--
MOS_MIGRATED_REVID=139460989
|
|
|
|
|
|
|
|
|
|
|
| |
...as compile.sh from a plain checkout won't work in the future (an unpacked
distribution archive would be necessary, but using the bootstrap bazel is
easier for CI).
--
Change-Id: I186a9422bb1a092ced7396f396a8a158aa67e0f4
Reviewed-on: https://bazel-review.googlesource.com/#/c/7352
MOS_MIGRATED_REVID=139458547
|
|
|
|
|
|
|
|
|
|
|
| |
Instead, it skips discovery (include scanning), but provides all headers to
action
execution to allow for re-adding pruned sources in a sandbox.
This means that mis-capitalization errors will only break a build if --objc_use_dotd_pruning is one.
--
MOS_MIGRATED_REVID=139456194
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current documentation for maven_server uses a rule name of `my-server`,
which is not a legal rule name due to its use of a hyphen. This commit changes
the hyphen to an underscore and changes all instances of `my-server` to
`my_server`
Closes #2087.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2087
MOS_MIGRATED_REVID=139452335
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139448254
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also remove a lot of unused header files.
The only remaining header file not available on
Windows is <unistd.h>, but cutting that dependency
will be more complicated because we use read/write
and similar I/O functions from it.
--
MOS_MIGRATED_REVID=139439791
|