aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skyframe/ClientEnvironmentFunction.java
Commit message (Collapse)AuthorAge
* Allow BazelPackageLoader to load external repositories.Gravatar carmi2018-03-13
| | | | | | | | | Also, disallow BazelPackageLoader from fetching missing external repos. Integration tests for BazelPackageLoader wrt external repos will be left for a follow-up CL. RELNOTES: None. PiperOrigin-RevId: 188967694
* Replace LegacySkyKey by AbstractSkyKey or custom SkyKeys. AbstractSkyKey ↵Gravatar janakr2018-03-02
| | | | | | | | doesn't save memory in the 32-bit case, but makes it easier for people to see how many SkyKeys we have. There's some unnecessary interning in tests, but it was easier to copypasta and doesn't harm anything, I think. PiperOrigin-RevId: 187694309
* Inject the changes in the client environment for the ClientEnvironmentFunction Gravatar Damien Martin-Guillerez2017-02-02
| | | | | | | | | | | | Using a precomputed values prevent us from being able to depends on any environment variable (or we would invalidate the whole graph each time the environment change, that is each time we run a command). -- Change-Id: If322df4240271d04b9278e1222f936156531580c Reviewed-on: https://cr.bazel.build/8400 PiperOrigin-RevId: 146298592 MOS_MIGRATED_REVID=146298592
* Make environment dependency of actions factor through individual valuesGravatar Klaus Aehlig2016-09-15
With actions depending on the (white-listed part) of the environment as a whole, even though they are only re-executed if the used parts of the environment change, each action has to be reconsidered on any change of the environment. For large dependency graphs, this can be a considerable amount of effort; therefore add intermediate values for the individual variables and make actions only depend on those actually used. -- Change-Id: I283d289da3e0782dc4f9ac084a41425166cfede0 Reviewed-on: https://bazel-review.googlesource.com/#/c/5494 MOS_MIGRATED_REVID=133255911