[llvm-commits] CVS: llvm-www/demo/index.cgi
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Nov 20 18:55:05 PST 2003
Changes in directory llvm-www/demo:
index.cgi updated: 1.13 -> 1.14
---
Log message:
Output is not looking quite right yet.
---
Diffs of the changes: (+3 -2)
Index: llvm-www/demo/index.cgi
diff -u llvm-www/demo/index.cgi:1.13 llvm-www/demo/index.cgi:1.14
--- llvm-www/demo/index.cgi:1.13 Thu Nov 20 18:45:30 2003
+++ llvm-www/demo/index.cgi Thu Nov 20 18:54:40 2003
@@ -5,7 +5,7 @@
# doing remote web JO99C compilations. (It could still be used for that
# purpose, though the two scripts have diverged somewhat.)
#
-# Last modified $Date: 2003/11/21 00:45:30 $
+# Last modified $Date: 2003/11/21 00:54:40 $
#
use CGI;
@@ -291,10 +291,11 @@
if ( $c->param('linkopt') ) {
my $stats = '';
+ my $outputFile = getname(".gccld.out");
$stats = '--stats --time-passes' if ($c->param('showstats'));
print " Running link-time optimizer.\n";
my $tmpFile = getname(".bc");
- system("gccld $stats --link-as-library -o=$tmpFile $bytecodeFile 2>&1");
+ try_run("gccld", "gccld $stats --link-as-library -o=$tmpFile $bytecodeFile 2>&1 > $outputFile", $outputFile );
system("mv $tmpFile $bytecodeFile");
}
More information about the llvm-commits
mailing list