aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime
Commit message (Collapse)AuthorAge
* Remove 'blaze doc_ext' command.Gravatar Laurent Le Brun2015-05-18
| | | | | | | | | We prefer to focus on the web documentation instead. RELNOTES[INC]: 'blaze doc_ext' command removed. -- MOS_MIGRATED_REVID=93871336
* Create a --fetch option to allow fetching during the build commandGravatar Kristina Chodorow2015-05-15
| | | | | -- MOS_MIGRATED_REVID=93639664
* RELNOTES: The --skyframe flag is now deprecated and will be removed in an ↵Gravatar Janak Ramakrishnan2015-05-15
| | | | | | | upcoming release. -- MOS_MIGRATED_REVID=93328637
* Fix info-keys help output.Gravatar Thiago Farina2015-05-08
| | | | | | | | | | | | | | Tested on Linux with the following command line: $ bazel help info-keys | sort | uniq -c And compared the output before and after. Fixes #175 -- Change-Id: Ia879796abf6f5b6b5742bfc9574d64fe53a650a3 MOS_MIGRATED_REVID=93127869
* Don't allow launching from a directory with a space in the nameGravatar Kristina Chodorow2015-04-30
| | | | | | | Further improvements on #167. -- MOS_MIGRATED_REVID=92459390
* Simplify the createConfiguration method in SkyframeExecutor.Gravatar Ulf Adams2015-04-23
| | | | | | | | | Instead of passing BuildConfigurationKey instances around, just pass in the little data we actually need. This allows removing the BuildConfigurationKey class. -- MOS_MIGRATED_REVID=91865340
* Enables BlazeModule to return multiple ActionContextProviders and ↵Gravatar Googler2015-04-23
| | | | | | | ActionContextConsumers. -- MOS_MIGRATED_REVID=91827715
* Fix indentation in TestCommand.Gravatar Ulf Adams2015-04-23
| | | | | -- MOS_MIGRATED_REVID=91818123
* Remove old Skylark Function hierarchyGravatar Francois-Rene Rideau2015-04-23
| | | | | | | Last step in refactoring of Skylark builtin functions. -- MOS_MIGRATED_REVID=91796746
* More Skylark function cleanupsGravatar Francois-Rene Rideau2015-04-22
| | | | | -- MOS_MIGRATED_REVID=91713784
* Pass in the test environment using ↵Gravatar Lukacs Berki2015-04-20
| | | | | | | | | | | BuildConfiguration.Options.testEnvironment instead of special-casing it in a large number of classes. The variables in the client environment are read in BlazeRuntime#beforeCommand() now. Note that this entails a slight loss of caching: before, "--test_env=a=A,b=B" and "--test_env=b=B,a=A" were equivalent, now they are not, since instead of comparing Map<String, String>, List<Map.Entry<String,String>> instances are compared. -- MOS_MIGRATED_REVID=91570828
* A minor refactoring of BlazeRuntime.Gravatar Lukacs Berki2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91405317
* Remove the full client environment from BuildConfiguration in favor of ↵Gravatar Lukacs Berki2015-04-17
| | | | | | | computing the test environment as early as possible, and passing that along. -- MOS_MIGRATED_REVID=91388451
* Added an help command to dump all options for completionGravatar Damien Martin-Guillerez2015-04-10
| | | | | | | | | | `bazel help completion` dump all options completion pattern for each command, giving hints on the format of the completion residue (e.g., `label`, `path`, `{a,enum}`, ...). This dump can be used to generate completion scripts. -- MOS_MIGRATED_REVID=90743024
* Add logging of blaze_cpu flag usage. Before we can remove this flag we need ↵Gravatar Marian Lobur2015-04-09
| | | | | | | to be sure that no one uses it. -- MOS_MIGRATED_REVID=90693216
* Supply the correct command name to ProjectFileSupport.Gravatar Googler2015-03-31
| | | | | -- MOS_MIGRATED_REVID=89973895
* Skylark: native module is updated.Gravatar Googler2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89483786
* Adds some notes about --batch flag.Gravatar Googler2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89348225
* Skylark: Package environment extensions can register functions with the ↵Gravatar Googler2015-03-24
| | | | | | | native module. -- MOS_MIGRATED_REVID=89309511
* Add experimental external event repository progress messages.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89134285
* Use a single critical path component in case of shared actions that run ↵Gravatar Miguel Alcon Pinto2015-03-23
| | | | | | | concurrently. We update the timing with the maximum elapsed time. This could prevent us from getting the critical path (because another smaller path could mask the critical path), but in practice we do not expect this to happen. -- MOS_MIGRATED_REVID=89133458
* Test execution time warning contains target name. The rest of the message is ↵Gravatar Googler2015-03-18
| | | | | | | shortened. -- MOS_MIGRATED_REVID=88922152
* On-the-fly target pattern resolution in SkyQueryEnvironmentGravatar Mark Schaller2015-03-18
| | | | | | | | | | | | | Moves pattern resolving logic from TargetPatternFunction.Resolver to a top level class. Adds a layer of abstraction to the Resolver implementation enabling it to be backed by either an Environment or a Graph, for use in SkyFunction evaluation or on-the-fly evaluation, respectively. Finally, SkyQueryEnvironment#preloadOrThrow now checks to see if each target pattern exists in the graph, and any that don't will be resolved on-the-fly. -- MOS_MIGRATED_REVID=88861201
* Rollback Blaze log flushing as it is not necessary.Gravatar Miguel Alcon Pinto2015-03-18
| | | | | -- MOS_MIGRATED_REVID=88755217
* Record statistics about dirty output files detected in the output tree.Gravatar Miguel Alcon Pinto2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88257621
* Force log flush at the end of a command execution.Gravatar Miguel Alcon Pinto2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88160544
* The info command keys now contain the correct product nameGravatar Laurent Le Brun2015-03-10
| | | | | | | | e.g. $ bazel info bazel-bin -- MOS_MIGRATED_REVID=87943280
* Some cleanup changes.Gravatar Ulf Adams2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87821306
* More blaze/bazel name cleanup in help messages.Gravatar Laurent Le Brun2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87728012
* Use the correct product name in Bazel command helpGravatar Laurent Le Brun2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87717872
* Help: Use the correct product name (blaze/bazel) in command help.Gravatar Laurent Le Brun2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87714450
* HelpCommand: Display the correct name (blaze/bazel).Gravatar Laurent Le Brun2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87712063
* Rename TopLevelArtifactProvider to OutputGroupProvider.Gravatar Lukacs Berki2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87596401
* Get runfiles prefix from the WORKSPACE fileGravatar Kristina Chodorow2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87513766
* Remove --compile_only and --compilation_prerequisites_only; --output_groups ↵Gravatar Lukacs Berki2015-03-04
| | | | | | | can be used in their stead. -- MOS_MIGRATED_REVID=87334648
* Add a SkyQueryEnvironment which runs queries by examining the Skyframe graph.Gravatar Janak Ramakrishnan2015-02-26
| | | | | | | | | This environment eagerly preloads the transitive closure of a specified query "universe", and so may not be as efficient as the standard query for limited-scope queries. It is activated when the universe is specified and ordered results are not requested (since it is currently unable to order results). Tests were modified/added to exercise this environment where deemed interesting. Some ugly hacks were done to add coverage in AbstractQueryTest and friends, because currently even if the full depot is loaded (using //...), individual target patterns most likely won't be present in the graph. A better way to deal with this situation, suggested by felly, is probably to extract target pattern resolution logic to an auxiliary function so that query is able to resolve target patterns without mutating the graph, and then call into the read-only graph with the resolved patterns. That may be done in a follow-up, in which case the "scope" of every query could be //... . -- MOS_MIGRATED_REVID=87257028
* Enforce same behavior for //path/to/package and path/to/packageGravatar Damien Martin-Guillerez2015-02-25
| | | | | | | Having an error message in path/to/package and //path/to/package resolve to //path/to/package:package was a bit strange. -- MOS_MIGRATED_REVID=87171051
* Compute action start time in critical path using Clock.currentTimeMillis ↵Gravatar Miguel Alcon Pinto2015-02-25
| | | | | | | instead of nanoTime. As nanoTime should only be used to compute time differences. To avoid having to pass two long values representing time (And calling twice to Clock.xxx methods per action executed) we compute the wall time by passing a clock and computing the difference from the start nano time. -- MOS_MIGRATED_REVID=87102963
* Description redacted.Gravatar Googler2015-02-19
| | | | | -- MOS_MIGRATED_REVID=86738858
* Fix shutdown deadlock when a shutdown hook crashes - halt() instead of exit().Gravatar Eric Fellheimer2015-02-19
| | | | | | | See associated bug for more details. -- MOS_MIGRATED_REVID=86708715
* Add back mistakenly deleted interrupt-handling code. Sadly, I can't find a ↵Gravatar Janak Ramakrishnan2015-02-11
| | | | | | | way to test this, because no matter what I do (pipe to a FIFO, run under stdbuf), Blaze doesn't block on outputting there, so I can't interrupt and cause the exception. -- MOS_MIGRATED_REVID=86114736
* Refactor Query code a bit. Get rid of separate SkyframeQueryEnvironment, ↵Gravatar Janak Ramakrishnan2015-02-11
| | | | | | | | | move some utility methods to utility class. The real goal of this CL is to make sure all users of BlazeQueryEnvironment are constructing one through EvaluableBlazeQueryEnvironment#newQueryEnvironment, and not directly. This ensures that alternate implementations of EvaluableBlazeQueryEnvironment will be automatically injected via #newQueryEnvironment. -- MOS_MIGRATED_REVID=86112439
* fix accumulating logic around cached testsGravatar Michajlo Matijkiw2015-02-11
| | | | | | | | | | | | | there was an error in the accounting of how many tests were actually executed vs those that were cached. this was a result of not considering remotely cached tests when accumulating test results. fix the bug and add some unit tests to prove out functionality, as well as some javadoc clarifying functionality. R=janakr -- MOS_MIGRATED_REVID=86112421
* Extract an EvaluableBlazeQueryEnvironment abstract class from ↵Gravatar Janak Ramakrishnan2015-02-11
| | | | | | | | | | | BlazeQueryEnvironment that exposes an evaluateQuery method, and also implements the non-LabelVisitor-specific parts of BlazeQueryEnvironment, for other implementations' uses. Most of the code is just a straight refactoring of BlazeQueryEnvironment into EvaluableBlazeQueryEnvironment (and BlazeTargetAccessor). Ignoring whitespace changes in [] may be your friend for seeing that it's a straight move. This also allows us to change tests to use QueryCommand.newQueryEnvironment, in preparation for newQueryEnvironment potentially returning a different EvaluableBlazeQueryEnvironment subclass depending on the circumstances. -- MOS_MIGRATED_REVID=86088953
* Add some test coverage for --noorder_results.Gravatar Janak Ramakrishnan2015-02-09
| | | | | -- MOS_MIGRATED_REVID=85902304
* fix bug where cov info wasn't being printed for some buildsGravatar Michajlo Matijkiw2015-02-09
| | | | | | | | | | | | | | coverage information was being added only if the build wasn't cached locally, and only if it wasn't attached before. the former was undesirable as the coverage data is still there and interesting. the latter prevented information being displayed for sharded tests note testing for exact coverage file names seems a bit flimsy, but if the code changes breaking our assumptions it should be simple enough to catch. -- MOS_MIGRATED_REVID=85896250
* When we log to [] instead of crashing on EventBus failures, also log ↵Gravatar Eric Fellheimer2015-02-07
| | | | | | | exception to blaze.INFO. Otherwise, it's easy to miss the fact that there was an important failure. -- MOS_MIGRATED_REVID=85760959
* Fix or suppress warnings in Blaze code. #fixitGravatar Laszlo Csomor2015-02-06
| | | | | -- MOS_MIGRATED_REVID=85722639
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957