Fixed buildbot scripts for darwin (r=dvander).
This commit is contained in:
parent
738fcb6563
commit
2a77dfbcd2
@ -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`;
|
||||
}
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user