| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
Fail fast if we are about extract the Bazel binary for version V into the predetermined install_base directory for version V'. This fixes Bazel's weakness to a race condition that puts it in a stable inconsistent state where all current and future attempts to use Bazel at version V will actually use V'. A rerun of the Bazel client will be able to successfully use version V'.
This race condition occurs when the Bazel binary is replaced after determine the install directory (via the install_base_key file in the Bazel zip) but before we extract the files in the zip into the directory.
RELNOTES: None
PiperOrigin-RevId: 183843099
|
|
|
|
| |
PiperOrigin-RevId: 183842057
|
|
|
|
| |
PiperOrigin-RevId: 183840991
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 183839976
|
|
|
|
|
|
|
|
| |
If two SkyValue objects are equal, then Skyframe caches and returns the old one, instead of the new one. That's a problem for the detection of file changes, which uses the FileContentsProxy, which wasn't part of the equals check before this change.
Progress on #3360.
PiperOrigin-RevId: 183834897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resource qualifiers of the form "en_US" are deprecated for resources (in favor
of qualifiers of the form "en-rUS") but are apparently the recommended (if not
only) way of specifying locales in resource filter strings.
Removing the warning (and reverting any changes that tried following it) should
solve this problem - the original filter strings from the rule are passed
unmodified to aapt, but these filters are still "fixed" so that
android_ide_common (which doesn't support the "deprecated" qualifier form) can
still be used to filter resources in analysis.
RELNOTES: none
PiperOrigin-RevId: 183830253
|
|
|
|
|
|
| |
Ran test 1000 times, no failures.
PiperOrigin-RevId: 183828896
|
|
|
|
|
|
|
| |
Fixes #4537.
Change-Id: I28afcbc89e230e319788c2426e57d43c1ad5dfee
PiperOrigin-RevId: 183827742
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Respect the user-defined TMPDIR, or use TMP or
TEMP on Windows. Since MSYS sets TMP and TEMP to
"/tmp" which is actually "<msysroot>/tmp" (e.g.
"c:\tools\msys64\tmp"), it is shorter than the
Windows-default TEMP directory.
This buys us a bit of headroom to not hit path
length limits while bootstrapping.
Fixes https://github.com/bazelbuild/bazel/issues/4536
Change-Id: I2ab04e3c1c96bc306ef54348cc0c0c2f3fda13ee
PiperOrigin-RevId: 183826475
|
|
|
|
| |
PiperOrigin-RevId: 183826311
|
|
|
|
|
|
|
|
|
|
| |
In a follow-up CL, CcLibraryHelper will be split in two classes, one for
compilation and one for linking.
SKIP_KOKORO=mac-flakes
RELNOTES:none
PiperOrigin-RevId: 183824395
|
|
|
|
|
| |
Change-Id: I33717f6a68035bfd5f8406685f935253e1d24325
PiperOrigin-RevId: 183815476
|
|
|
|
|
| |
RELNOTES:none
PiperOrigin-RevId: 183806762
|
|
|
|
|
|
| |
instead of directJarsToTargets/indirectJarsToTargets.
PiperOrigin-RevId: 183780563
|
|
|
|
|
|
| |
Replace it with PackageManager.getTarget().
PiperOrigin-RevId: 183736074
|
|
|
|
| |
PiperOrigin-RevId: 183733621
|
|
|
|
| |
PiperOrigin-RevId: 183731563
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 183727976
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the need for ConfigurationTransitionProxy.DATA by providing a
way for the C++ rule defs to directly inject the transition for all rules
to use.
Skylark attributes work differently, so they'll be addressed in another
change.
PiperOrigin-RevId: 183721293
|
|
|
|
|
|
|
| |
This will enable us to write testing rules in Skylark.
RELNOTES: None
PiperOrigin-RevId: 183719720
|
|
|
|
|
| |
RELNOTES:none
PiperOrigin-RevId: 183714603
|
|
|
|
|
|
| |
getting Target from the SkyframeExecutor's PackageManager.
PiperOrigin-RevId: 183710251
|
|
|
|
| |
PiperOrigin-RevId: 183704507
|
|
|
|
|
|
| |
Generalizes @AutoCodec.Constructor to @AutoCodec.Instantiator.
PiperOrigin-RevId: 183702768
|
|
|
|
|
|
|
| |
add the argv to the java args
RELNOTES: None.
PiperOrigin-RevId: 183685024
|
|
|
|
| |
PiperOrigin-RevId: 183677348
|
|
|
|
| |
PiperOrigin-RevId: 183676997
|
|
|
|
|
|
|
|
| |
Allows users to monitor server output without needing to fish the output base.
Windows support is copied more or less verbatim from recommendations, I unfortunately
don't know how to test this on windows.
PiperOrigin-RevId: 183674130
|
|
|
|
| |
PiperOrigin-RevId: 183672444
|
|
|
|
| |
PiperOrigin-RevId: 183668291
|
|
|
|
|
|
| |
BuildConfiguration.
PiperOrigin-RevId: 183667795
|
|
|
|
|
|
|
| |
Follow-up to https://github.com/bazelbuild/bazel/commit/210cdeb8a7836c5fd586a29d73c8013f325d3883
RELNOTES: None
PiperOrigin-RevId: 183665009
|
|
|
|
|
|
|
|
|
|
| |
Allow symbolic links in zip archives, as long as they refer to
a file within the same archive.
Fixes #2656.
Change-Id: I0b21b8bb79a7e999ef191baa2a71d29745ac65e4
PiperOrigin-RevId: 183664725
|
|
|
|
| |
PiperOrigin-RevId: 183662908
|
|
|
|
|
|
|
|
|
|
|
| |
The debian package changlog file doesn't have to contain the real CHANGELOG.md.
Parsing change log is error-prone and caused our release job to fail everytime,
so here we simplified the script for generating changelog.
Fix https://github.com/bazelbuild/bazel/issues/4530
Change-Id: I8adc5a98def5709ea57f9edbed9f0cf772a48d76
PiperOrigin-RevId: 183651058
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add logging to bazel_bootstrap_distfile_test in
case it is running on Windows. The logging will
help collect basic performance stats.
Also remove the %N placeholder from `date` format
string in the log messages, because macOS doesn't
support it.
See https://github.com/bazelbuild/bazel/issues/4503
Change-Id: Idf00bf1512d02a793b27e1cc761fbcd630e79618
PiperOrigin-RevId: 183642578
|
|
|
|
|
|
|
| |
Built at:
https://github.com/google/turbine/commit/3cf4e7afb014f87baaf3af7faf0560c683765ea3
Change-Id: Id12ce0cac902ac8a8e57cba9be653bf81f442758
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 183592129
|
|
|
|
|
|
| |
that took ConfiguredTargetKey.
PiperOrigin-RevId: 183519981
|
|
|
|
|
|
|
|
|
| |
Do this by exposing DeviceBrokerInfo and a constructor for it in android_common.
See AndroidInstrumentationTestTest for an example.
RELNOTES: None
PiperOrigin-RevId: 183432674
|
|
|
|
|
|
|
|
|
|
|
| |
Use BytesIO instead of StringIO, change strings to bytes throughout the
archiving code. Needed to import from Six in a couple of places.
As discussed in #1580
Closes #3850.
PiperOrigin-RevId: 183429066
|
|
|
|
| |
PiperOrigin-RevId: 183416882
|
|
|
|
|
|
| |
target from CommandEnvironment.
PiperOrigin-RevId: 183416006
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* This puts in the foundation of HTTP/2 support for remote caching.
* Allows us to remove the Apache HTTP library as a dependency, reducing
the Bazel binary size by 1MiB.
On fast networks (i.e. GCE to GCS) we can see a >2x speed improvement for TLS
throughput. Even from my workstation to GCS I get significant build time
improvements when using Netty's TLS 18s vs 12s.
Closes #4481.
PiperOrigin-RevId: 183411787
|
|
|
|
|
|
|
| |
a member of CcProtoAspect. This is to prevent a heavy implementation like
ObjcCppSemantics from weighing down AspectKey.
PiperOrigin-RevId: 183408339
|
|
|
|
|
| |
RELNOTES: Replace //tools/defaults:android_jar with @bazel_tools//tools/android:android_jar. //tools/defaults:android_jar will be removed in a future release.
PiperOrigin-RevId: 183404151
|
|
|
|
|
|
|
|
| |
Uses type and object equality to determine references. This results in a canonical serialized representation.
ObjectCodecTester and SerializerTester now log some timing information.
PiperOrigin-RevId: 183403658
|
|
|
|
|
|
| |
SkyKey and perform the lookup in AspectFunction, in parallel with the lookup for the base configured target introduced in unknown commit.
PiperOrigin-RevId: 183399436
|
|
|
|
|
|
|
|
|
|
|
| |
TBD: finish pulling out CLIF logic from the C++ rules implementation. This involves refactoring ArtifactCategory and CppSource.Type.
CLIF does PIC compilation now. This detail should be irrelevant to users since CLIF only cares about the matched protobuf output file.
SKIP_KOKORO=flakes
RELNOTES:none
PiperOrigin-RevId: 183396902
|
|
|
|
|
|
|
| |
It is optional as of https://github.com/bazelbuild/bazel/commit/1a6ca6f47aef36d56b5cb2f9da114af75dde583d.
RELNOTES: None
PiperOrigin-RevId: 183391869
|