changeset 46:42f808f31738

fix jobs spec error in previous change
author John W. Eaton <jwe@octave.org>
date Fri, 27 Aug 2021 22:17:30 -0400
parents cfe2064ab06a
children 614d569bb3f6
files master.cfg
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/master.cfg	Sat Aug 28 02:07:59 2021 +0000
+++ b/master.cfg	Fri Aug 27 22:17:30 2021 -0400
@@ -667,9 +667,13 @@
 ## if the build is running on a heavily loaded system and this step
 ## has a high nice value.
 
-def mk_mxe_octave_hg_tarball_step (nice = 0, jobs = 8, branch = "default"):
+def mk_mxe_octave_hg_tarball_step (nice = 0, jobs = [1, 8], branch = "default"):
 
-  make_cmd = build_cmd_list (["make", "JOBS=" + str (jobs), "hg-octave-dist", "hg-octave-branch=" + branch],
+  make_cmd = build_cmd_list (["make",
+                              "--jobs=" + str (jobs[0]),
+                              "JOBS=" + str (jobs[1]),
+                              "hg-octave-dist",
+                              "hg-octave-branch=" + branch],
                              nice = nice)
   return Compile (command = make_cmd, workdir = "src", env = build_env,
                   timeout = 14400)