aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-03-23 16:07:44 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2021-03-28 22:44:21 +0300
commit23c706add1f4345877a4d5a905777a2b4694669a (patch)
tree6cd4c9b39d9b463a560c467b1004c0a540f0cdcc
parentf335e1299b71f88b39a142ae6c10276ef7f547b4 (diff)
downloadmeson-23c706add1f4345877a4d5a905777a2b4694669a.zip
meson-23c706add1f4345877a4d5a905777a2b4694669a.tar.gz
meson-23c706add1f4345877a4d5a905777a2b4694669a.tar.bz2
coredata: Fix dependency cache
The host cache had BUILD, which is wrong.
-rw-r--r--mesonbuild/coredata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index d4179d2..df454c3 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -397,7 +397,7 @@ class CoreData:
self.compilers = PerMachine(OrderedDict(), OrderedDict()) # type: PerMachine[T.Dict[str, Compiler]]
build_cache = DependencyCache(self.options, MachineChoice.BUILD)
- host_cache = DependencyCache(self.options, MachineChoice.BUILD)
+ host_cache = DependencyCache(self.options, MachineChoice.HOST)
self.deps = PerMachine(build_cache, host_cache) # type: PerMachine[DependencyCache]
self.compiler_check_cache = OrderedDict() # type: T.Dict[CompilerCheckCacheKey, compiler.CompileResult]