From 40863a594372ede117533d5c0970a96d60e34371 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Apr 2021 10:10:34 +0200 Subject: Incorporate project environment checksum into cc::compiler_info cache key --- libbuild2/scope.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbuild2/scope.hxx') 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 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; -- cgit v1.1