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";
|
print "Attempting to reconfigure...\n";
|
||||||
if ($^O eq "linux") {
|
if ($^O eq "linux") {
|
||||||
$result = `CC=gcc-4.1 CXX=gcc-4.1 python3.1 ../build/configure.py --enable-optimize`;
|
$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 {
|
} else {
|
||||||
$result = `C:\\Python31\\Python.exe ..\\build\\configure.py --enable-optimize`;
|
$result = `C:\\Python31\\Python.exe ..\\build\\configure.py --enable-optimize`;
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ require 'helpers.pm';
|
|||||||
|
|
||||||
chdir('../../../OUTPUT');
|
chdir('../../../OUTPUT');
|
||||||
|
|
||||||
if ($^O eq "linux") {
|
if ($^O eq "linux" || $^O eq "darwin") {
|
||||||
system("python3.1 build.py 2>&1");
|
system("python3.1 build.py 2>&1");
|
||||||
} else {
|
} else {
|
||||||
system("C:\\Python31\\python.exe build.py 2>&1");
|
system("C:\\Python31\\python.exe build.py 2>&1");
|
||||||
|
Loading…
Reference in New Issue
Block a user