aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/environment.py2
-rw-r--r--mesonbuild/mesonmain.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 369ca20..1586248 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -126,7 +126,7 @@ class Environment():
def is_cross_build(self):
return self.cross_info is not None
- def generating_finished(self):
+ def dump_coredata(self):
cdf = os.path.join(self.get_build_dir(), Environment.coredata_file)
coredata.save(self.coredata, cdf)
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index 1a7b084..543a31f 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -166,8 +166,8 @@ itself as required.'''
mlog.log('Build machine cpu family:', mlog.bold(intr.builtin['build_machine'].cpu_family_method([], {})))
mlog.log('Build machine cpu:', mlog.bold(intr.builtin['build_machine'].cpu_method([], {})))
intr.run()
+ env.dump_coredata()
g.generate(intr)
- env.generating_finished()
dumpfile = os.path.join(env.get_scratch_dir(), 'build.dat')
pickle.dump(b, open(dumpfile, 'wb'))