summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2019-09-21 01:45:24 +1000
committerNirbheek Chauhan <nirbheek@centricular.com>2019-10-31 18:32:47 +0530
commite5d9bdfab09dc03125f13390ef1e036b04e29377 (patch)
treef7818966b2c3a6578236aa6aa2f0a48b14b9c40e /recipes
parent2a2d2b77c52235b89b72d9ade0f9befc03281b3e (diff)
build: implement a better build status for parallel recipes
Diffstat (limited to 'recipes')
-rw-r--r--recipes/libusrsctp.recipe3
-rw-r--r--recipes/libvpx.recipe6
-rw-r--r--recipes/pixman.recipe4
3 files changed, 7 insertions, 6 deletions
diff --git a/recipes/libusrsctp.recipe b/recipes/libusrsctp.recipe
index 22a0660c..64a3bc56 100644
--- a/recipes/libusrsctp.recipe
+++ b/recipes/libusrsctp.recipe
@@ -26,6 +26,7 @@
import shutil
from cerbero.utils import shell
+from cerbero.utils import messages as m
class Recipe(recipe.Recipe):
name = 'libusrsctp'
@@ -49,7 +50,7 @@ class Recipe(recipe.Recipe):
async def extract(self):
await super().extract()
for f in ['NEWS', 'README', 'AUTHORS', 'ChangeLog']:
- shell.log(os.path.join(self.build_dir, f), self.logfile)
+ m.log(os.path.join(self.build_dir, f), self.logfile)
shell.touch(os.path.join(self.build_dir, f), True)
#os.mkdir(os.path.join(self.build_dir, 'm4'))
diff --git a/recipes/libvpx.recipe b/recipes/libvpx.recipe
index d3bd8710..e3e62f79 100644
--- a/recipes/libvpx.recipe
+++ b/recipes/libvpx.recipe
@@ -135,14 +135,14 @@ class Recipe(recipe.Recipe):
cpufeatures_path = os.path.join(self.config.toolchain_prefix, 'sources', 'android', 'cpufeatures')
o = os.path.join(cpufeatures_path, 'cpu-features.h')
f = os.path.join(self.make_dir, 'vpx_ports')
- m.action("copying %s to %s" % (o, f))
+ m.action("copying %s to %s" % (o, f), logfile=self.logfile)
shutil.copy(o, f)
f = self.make_dir
- m.action("copying %s to %s" % (o, f))
+ m.action("copying %s to %s" % (o, f), logfile=self.logfile)
shutil.copy(o, f)
o = os.path.join(cpufeatures_path, 'cpu-features.c')
f = os.path.join(self.make_dir, 'vpx_ports')
- m.action("copying %s to %s" % (o, f))
+ m.action("copying %s to %s" % (o, f), logfile=self.logfile)
shutil.copy(o, f)
await super().configure()
diff --git a/recipes/pixman.recipe b/recipes/pixman.recipe
index d58e6374..2faeb6c2 100644
--- a/recipes/pixman.recipe
+++ b/recipes/pixman.recipe
@@ -45,10 +45,10 @@ class Recipe(recipe.Recipe):
cpufeatures_path = os.path.join(self.config.toolchain_prefix, 'sources', 'android', 'cpufeatures')
o = os.path.join(cpufeatures_path, 'cpu-features.h')
f = os.path.join(self.make_dir, 'pixman')
- m.action("copying %s to %s" % (o, f))
+ m.action("copying %s to %s" % (o, f), logfile=self.logfile)
shutil.copy(o, f)
o = os.path.join(cpufeatures_path, 'cpu-features.c')
f = os.path.join(self.make_dir, 'pixman')
- m.action("copying %s to %s" % (o, f))
+ m.action("copying %s to %s" % (o, f), logfile=self.logfile)
shutil.copy(o, f)
await super(recipe.Recipe, self).configure()