Allow passing the compiler name to startbuild.pl for AMB2 reconfigures (r=dvander).
Allow passing the compiler name to startbuild.pl for
AMB2 reconfigures (r=dvander).
1.1 --- a/support/buildbot/startbuild.pl Wed Dec 11 01:01:35 2013 -0600
1.2 +++ b/support/buildbot/startbuild.pl Wed Dec 11 01:51:44 2013 -0600
1.3 @@ -10,6 +10,12 @@
1.4
1.5 chdir('../../../OUTPUT');
1.6
1.7 +my $argn = $#ARGV + 1;
1.8 +if ($argn > 0) {
1.9 + $ENV{CC} = $ARGV[0];
1.10 + $ENV{CXX} = $ARGV[0];
1.11 +}
1.12 +
1.13 system("ambuild --no-color 2>&1");
1.14
1.15 if ($? != 0)