Fixed buildbot scripts for darwin (r=dvander).

This commit is contained in:
Fyren 2010-05-11 00:16:52 -07:00
parent 738fcb6563
commit 2a77dfbcd2
2 changed files with 3 additions and 1 deletions

View File

@ -47,6 +47,8 @@ if ($reconf) {
print "Attempting to reconfigure...\n";
if ($^O eq "linux") {
$result = `CC=gcc-4.1 CXX=gcc-4.1 python3.1 ../build/configure.py --enable-optimize`;
} elsif ($^O eq "darwin") {
$result = `CC=gcc-4.2 CXX=gcc-4.2 python3.1 ../build/configure.py --enable-optimize`;
} else {
$result = `C:\\Python31\\Python.exe ..\\build\\configure.py --enable-optimize`;
}

View File

@ -10,7 +10,7 @@ require 'helpers.pm';
chdir('../../../OUTPUT');
if ($^O eq "linux") {
if ($^O eq "linux" || $^O eq "darwin") {
system("python3.1 build.py 2>&1");
} else {
system("C:\\Python31\\python.exe build.py 2>&1");