diff options
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r-- | morphlib/builder.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py index 0bb21434..bb214a38 100644 --- a/morphlib/builder.py +++ b/morphlib/builder.py @@ -279,8 +279,8 @@ class ChunkBuilder(BuilderBase): if self.app.settings['build-log-on-stdout'] else None) cache = self.local_artifact_cache - logpath = cache.get_source_metadata_filename( - self.source, self.source.cache_key, 'build-log') + logpath = cache.get_source_metadata_filename(self.source, + self.source.cache_key, self.source.name + '-build-log') _, temppath = tempfile.mkstemp(dir=os.path.dirname(logpath)) @@ -353,6 +353,7 @@ class ChunkBuilder(BuilderBase): if max_jobs is None: max_jobs = self.max_jobs extra_env['MAKEFLAGS'] = '-j%s' % max_jobs + extra_env['MAKEFLAGS'] = '-j1' else: extra_env['MAKEFLAGS'] = '-j1' |