From 653e48f87dc4f4b5a654246771005ec9da652854 Mon Sep 17 00:00:00 2001 From: Vojtech Horky Date: Thu, 5 Apr 2018 10:11:21 +0200 Subject: [PATCH] Fixes in Coastline building process * honor archive format option * download tarballs only once * prefer external parallelism (at the level of tasks, not inside each harbour build) --- hbuild/builders/coastline.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hbuild/builders/coastline.py b/hbuild/builders/coastline.py index 7d47d42..6fe03b0 100755 --- a/hbuild/builders/coastline.py +++ b/hbuild/builders/coastline.py @@ -166,6 +166,10 @@ class CoastlinePrebuildTask(Task): my_dir = self.ctl.make_temp_dir('build/%s/coast' % self.build_dir_basename) hsrootdir = self.ctl.make_temp_dir('build/%s/helenos' % self.build_dir_basename) self.ctl.run_command([ root + '/hsct.sh', 'init', hsrootdir ], cwd=my_dir) + with open('%s/config.sh' % my_dir, 'a') as cfg: + cfg.write("HSCT_FORMAT=\"%s\"\n" % self.archive_format) + cfg.write("HSCT_SOURCES_DIR=\"%s\"\n" % self.ctl.make_temp_dir('mirror/sources')) + cfg.write("HSCT_PARALLELISM=1\n") return { 'dir': my_dir -- 2.11.4.GIT