Commit 01f3f11d authored by Claes Sjofors's avatar Claes Sjofors

pwre parallel build made optional, configured with 'pwre configure --parallel'

parent 6aaaf70c
...@@ -68,7 +68,6 @@ $os = substr( $ENV{"pwre_os"}, 3, 100); ...@@ -68,7 +68,6 @@ $os = substr( $ENV{"pwre_os"}, 3, 100);
$hw = substr( $ENV{"pwre_hw"}, 3, 100); $hw = substr( $ENV{"pwre_hw"}, 3, 100);
$configfile = $ENV{"pwre_broot"} . "/pwre_" . $hw . "_" . $os . ".cnf"; $configfile = $ENV{"pwre_broot"} . "/pwre_" . $hw . "_" . $os . ".cnf";
$parallel = $ENV{"PWRE_CONF_PARALLEL"}; $parallel = $ENV{"PWRE_CONF_PARALLEL"};
printf( "Parallel %s\n", $parallel);
$arg1 = $ARGV[0]; $arg1 = $ARGV[0];
...@@ -1470,7 +1469,6 @@ sub _build () # args: branch, subbranch, flavour, phase ...@@ -1470,7 +1469,6 @@ sub _build () # args: branch, subbranch, flavour, phase
if (($parallel eq "1" && $branch eq "lib" && $subbranch ne "dtt") || $branch eq "wbl") { if (($parallel eq "1" && $branch eq "lib" && $subbranch ne "dtt") || $branch eq "wbl") {
# All libraries and wbl files can be compiled in parallel # All libraries and wbl files can be compiled in parallel
printf( "Parallel %s", $parallel);
system("make -j @_") && exit 1; system("make -j @_") && exit 1;
} else { } else {
system("make @_") && exit 1; system("make @_") && exit 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment