From 0130c629d7bd39819e8e086f7f3c27c388ceb16e Mon Sep 17 00:00:00 2001 From: jkratoch <> Date: Sun, 29 Nov 2009 22:53:25 +0000 Subject: [PATCH] +--configure --- bin/hammock | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/hammock b/bin/hammock index fdf25c8..306d653 100755 --- a/bin/hammock +++ b/bin/hammock @@ -35,6 +35,7 @@ my $component; my $srcrpm; my @file; my @target; +my $configure; # FIXME: Connect make paralellization to the children. my $distrojobs; die if !GetOptions( @@ -52,6 +53,7 @@ die if !GetOptions( "file=s{,}"=>\@file, "target=s{,}"=>\@target, "D|distrojobs=s"=>\$distrojobs, + "configure=s"=>\$configure, ); $component and ($component=~m{^(?:(?:fedora|rhel)(?:gdb|binutils|glibc)|gdbcvs|binutilscvs|archer-.*|/home/.*)$} or die "-c|--component required to be: fedoragdb|rhelgdb|fedorabinutils|rhelbinutils|fedoraglibc|rhelglibc|gdbcvs|binutilscvs|archer-*|/home/*"); $component and $component=~m{^/home/} and (-f "$component/gdb/gdbtypes.c" or die "$component/gdb/gdbtypes.c not found"); @@ -177,6 +179,7 @@ my %dump=( "component"=>$component, "srcrpm"=>$srcrpm, "file"=>join("\n",@file), + "configure"=>$configure, ); while (my($name,$val)=each(%dump)) { writefile "$dir/$name","$val\n" if $val; @@ -348,6 +351,7 @@ while (@distrouse || keys(%child)) { my $errs1="errs1"; $errs1.=" --target=$target" if $target; + $errs1.=" $configure" if $configure; if ($component eq "binutilscvs") { mockrun "cd $baretestsuite; $errs1; errs2; ulimit -c unlimited; orphanripper make -k check || :; mkdir $out; ".q{for file in {gas/testsuite/gas,ld/ld,binutils/binutils}.{sum,log};do ln $file}." $out/binutils-$distro-".q{$(basename $file) || :; done;}; -- 1.8.3.1