diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-22 10:10:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-22 10:10:34 +0200 |
commit | 40863a594372ede117533d5c0970a96d60e34371 (patch) | |
tree | ce5b481ebb443c75161d5866dc6a4207df9a766c /libbuild2/scope.hxx | |
parent | 1ac5458eede2b4b2d3bc98cde787348f70328361 (diff) |
Incorporate project environment checksum into cc::compiler_info cache key
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r-- | libbuild2/scope.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx index 9f88dc9..f78a565 100644 --- a/libbuild2/scope.hxx +++ b/libbuild2/scope.hxx @@ -501,6 +501,12 @@ namespace build2 // See also auto_project_env below. // vector<const char*> environment; + + // A checksum of the above environment variables (empty if there are + // none). This can be used to take into account project environment + // when, for example, caching environment-sensitive information. + // + string environment_checksum; }; unique_ptr<root_extra_type> root_extra; |