| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123441206
|
|
|
|
|
|
|
| |
@bazel_tools. Currently the tool still remains in embedded_binaries, but we will migrate away from that: Eventually it can simply live just under @bazel_tools.
--
MOS_MIGRATED_REVID=123436822
|
|
|
|
|
|
|
|
| |
* Modules are now named after its full target path by default.
* module_name attribute can be used to override this logic.
--
MOS_MIGRATED_REVID=123422704
|
|
|
|
|
|
|
|
|
|
|
| |
With the change of reporting progress during loading and analysis
by a custom package tracking class, the LoadingProgressReceiver
is not used anywhere anymore. Threfore, remove it.
--
Change-Id: Ia88d2d5608dea1bb395cd5b3c3e12c16200ecb41
Reviewed-on: https://bazel-review.googlesource.com/#/c/3701
MOS_MIGRATED_REVID=123410961
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To give a better understanding of which packages are on the critical
path during loading and analysis, provide information in the same way
as during execution: show the earliest started, but not yet completed
package. As not all packages looked at during the analysis phase are
reported to the progress receiver, use a custom class to aggregate those
data.
--
Change-Id: I03c25efdecb4124e1bc06fce8be9175dc56b5500
Reviewed-on: https://bazel-review.googlesource.com/#/c/3700
MOS_MIGRATED_REVID=123408689
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123350350
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123347295
|
|
|
|
|
|
|
|
|
|
| |
* Adds a way to read FRAMEWORK_ keys from ObjcProvider and provide outputs as -F args to the compiler
* Adds a sample dynamic framework for testing
RELNOTES: swift_library is now able to import framework rules such as objc_framework.
--
MOS_MIGRATED_REVID=123337139
|
|
|
|
|
|
|
| |
Aesthetic change only. Safe because no one yet consumes this.
--
MOS_MIGRATED_REVID=123279233
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123251531
|
|
|
|
|
|
|
| |
creating fresh Package instances. Also make a few Package methods public.
--
MOS_MIGRATED_REVID=123247246
|
|
|
|
|
|
|
|
|
|
| |
Fixes #1281.
RELNOTES: Symlinks in zip files are now unzipped correctly by http_archive,
download_and_extract, etc.
--
MOS_MIGRATED_REVID=123233604
|
|
|
|
|
|
|
|
|
| |
* General cleanup of the rule code.
* Adds a way to use modulemaps to import Objective-C code.
* Adds a way to pass framework flags to the compiler and adds the developer frameworks dir from Xcode as one.
--
MOS_MIGRATED_REVID=123217120
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123214350
|
|
|
|
|
|
|
| |
Fixes #1298
--
MOS_MIGRATED_REVID=123208845
|
|
|
|
|
|
|
|
|
| |
Fix a bunch of tests to assume interleaving instead of disrete phases.
In our testing, this improves loading+analysis times by ~30%.
--
MOS_MIGRATED_REVID=123203752
|
|
|
|
|
|
|
| |
forms.
--
MOS_MIGRATED_REVID=123201777
|
|
|
|
|
|
|
| |
3a95f353704dc2f7061e2c0786c2459ac1db0fd1).
--
MOS_MIGRATED_REVID=123107954
|
|
|
|
|
|
|
|
|
|
|
| |
TreeArtifact with the content of an archive file at execution time by:
1. Reads the archive manifest file on disk.
2. Executes a spawn that expands the archive manifest entries of the archive file into/under the TreeArtifact.
3. Registers the manifest file entries as TreeFileArtifacts of the TreeArtifact.
--
MOS_MIGRATED_REVID=123107850
|
|
|
|
|
|
|
|
|
|
|
| |
When reporting about actions that are still running, groups those belonging
to the same test. In this way, more useful information can be presented in the
progress bar, instead of wasting a whole line for a single shard.
--
Change-Id: Id1f5a0595767906d6a75f6533be54f3c262ddd67
Reviewed-on: https://bazel-review.googlesource.com/#/c/3646
MOS_MIGRATED_REVID=123097744
|
|
|
|
|
|
|
| |
list for running / not running workers, which caused the tests to be very flaky, but instead test what we're interested in by checking the generated output and the (recently improved) verbose log messages.
--
MOS_MIGRATED_REVID=123093910
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
killing of broken workers in the background, when no build is currently running, because we can only alert the user about what's going on while a build is currently running.
If you're a developer, this will probably help you when debugging a new worker.
Some messages you might see with --worker_verbose specified:
INFO: Worker configuration has changed, restarting worker pool...
WARNING: Javac worker (id 6) can no longer be used, because its files have changed on disk [13ce6c10546243b6b4ea2334dd3f8a55705e4c078cedd0e746d7ad7cee082e9a -> 9731223c50bab5c1f20d60d1a4967cf2726840727b6a639b6f6425547a9b4a10].
WARNING: Javac worker (id 4) can no longer be used, because its process terminated itself or got killed.
--
MOS_MIGRATED_REVID=123093071
|
|
|
|
|
|
|
| |
that belong to a prior running Bazel server.
--
MOS_MIGRATED_REVID=123092141
|
|
|
|
|
|
|
| |
Fixes #1300 .
--
MOS_MIGRATED_REVID=123090421
|
|
|
|
|
|
|
|
|
| |
//external package lookups, but keep the current (incorrect) semantics for unsuccessful //external package lookups.
Refactor some users of the old WorkspacePackageLookupValue.
--
MOS_MIGRATED_REVID=123034174
|
|
|
|
|
|
|
| |
around apple's buggy libtool tool
--
MOS_MIGRATED_REVID=123024674
|
|
|
|
|
|
|
|
|
|
| |
e.g. fail(3)
This is mostly useful for debugging (typical error messages will continue
to use strings).
--
MOS_MIGRATED_REVID=123008379
|
|
|
|
|
|
|
|
|
|
| |
The IDE doesn't add generated sources. Including these causes
execution of actions that generate sources, including building
whatever tools they need. This is not necessary for the IDE
stage.
--
MOS_MIGRATED_REVID=123004127
|
|
|
|
|
|
|
|
|
| |
BlazeRuntime#getProductName() or a reference to TestConstants.PRODUCT_NAME for tests.
This CL prepares the codebase in order to delete the constant.
--
MOS_MIGRATED_REVID=122993568
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122990255
|
|
|
|
|
|
|
|
|
|
|
| |
commit 3fedf9e618cbce3dbdd00559b2de0bb8e2d43171 introduced the distinction between the loading phase and the workspace phase.
This check broke the use of native.existing_rule(s) in skylark remote repository, added a regression test for it.
Fixes #1277
--
MOS_MIGRATED_REVID=122988569
|
|
|
|
|
|
|
|
|
| |
This prevents the case of a rule acquiring the null configuration in case the alias points to an input file. Which, in turn, makes "bazel build" work for these targets. The reason it breaks is that TargetCompletionValue instances are created from the associated ConfiguredTarget in SkyframeExecutor#buildArtifacts(), which means that if the configurations do not match, TargetCompletionFunction requests a different ConfiguredTargetValue than it was created from.
Fixes #1297.
--
MOS_MIGRATED_REVID=122973526
|
|
|
|
|
|
|
|
|
| |
8375185ee11d573562f98de14bed79a77fcfd728 that applies to
already-existing code.
--
MOS_MIGRATED_REVID=122869862
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122846987
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AggregatingAttributeMapper.
Recall that computed defaults have the ability to read all nonconfigurable attributes and whatever configurable attributes they declare in their constructors.
I mistakenly thought that AggregatingAttributeMapper.visitLabels was skipping computed defaults that didn't declare configurable deps.
While everything was, in fact, fine, this cl properly enforces expectations.
In the process, I created a custom rule class in AggregatingAttributeMapperTest, which forced AbstractAttributeMapperTest to inherit BuildViewTestCase. That offered some code cleanup opportunity that makes up the rest of this cl.
--
MOS_MIGRATED_REVID=122838948
|
|
|
|
|
|
|
|
|
| |
RuleClass is deserialized as part of a Skylark rule, the Environment is currently not present, but it is needed to detect changes to the rule.
Also precompute and store the Environment's hash code, and do a drive-by clean-up of a bunch of warnings in the Environment code.
--
MOS_MIGRATED_REVID=122838588
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change allows starting remote worker with an embedded hazelcast server that listens to
a specific port. This allows test to run reliably.
Fixes #1271.
--
Change-Id: I0bb36af5837f83cad3d76b8acb50f89cd599ee87
Reviewed-on: https://bazel-review.googlesource.com/c/3650/
MOS_MIGRATED_REVID=122829898
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122825908
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a progress message has to be shortened, as it does not fit in a
line in the progress bar, add a new first attempt: if the message the
path implicit to the label, only shorten that path within the message
(if that gets short enough, leaving a reasonable part of the path);
usually, the additional information is more useful than having a longer
part of the path present.
While there, also fix incorrect length computation in a different case
of message shortening.
--
Change-Id: Ied80e03cace1b249fc0f4e11bce41f2b4207b6ad
Reviewed-on: https://bazel-review.googlesource.com/#/c/3670
MOS_MIGRATED_REVID=122818198
|
|
|
|
|
|
|
|
|
|
| |
to support cases like src/com/google/java, where the root is just src.
Also check for nested /src/ directories. This allows "blaze analyze"
to understand the classes provided by such "double src" rules and
match them up to java imports.
--
MOS_MIGRATED_REVID=122748028
|
|
|
|
|
|
|
| |
flags and environment variables.
--
MOS_MIGRATED_REVID=122735641
|
|
|
|
|
|
|
| |
ParameterFileWriteAction: Add support to write out CommandLine with tree artifact expansions.
--
MOS_MIGRATED_REVID=122734422
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122721164
|
|
|
|
|
|
|
|
|
|
| |
- mark the addDependencies method as @VisibleForTesting, and don't round-trip
through PathFragment
- use Path.getRelative(String) instead of Path.getRelative(PathFragment), which
may do additional optimizations
--
MOS_MIGRATED_REVID=122720947
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the C++-contributed fragment.
e.g. provide the ability to translate:
bazel-out/gcc-X-glibc-Y-x86-fastbuild/
to:
bazel-out/fastbuild/
This applies to artifacts built with dynamic configurations for targets with no C++ fragments in their configuration.
--
MOS_MIGRATED_REVID=122643518
|
|
|
|
|
|
|
| |
Due to reusing an old Reporter instead of grabbing the current one for each build, verbose messages were lost and not printed to the console. Also adds a test for this feature.
--
MOS_MIGRATED_REVID=122639383
|
|
|
|
|
|
|
|
|
|
|
| |
This completes the introduction of aspect configuration fragment enforcement
for static configuration builds; as of this change, it is no longer possible to
fall back to the base rule's set of requested configuration fragments.
This sort of fallback may become possible later, likely in a more controlled way.
--
MOS_MIGRATED_REVID=122638152
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122635220
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=122627792
|
|
|
|
|
|
|
| |
This is a resubmission of commit 45d48bf1fe7503acbbb0c095822b7f8f558881e8. It turns out that we also need -fPIC for *assembler* command line options, because some assembler sources are preprocessed and they can say "#ifdef __PIC__".
--
MOS_MIGRATED_REVID=122626234
|