Incorporating some suggestions about the compiler flags(now you see what they are...
authorIsaac Dooley <idooley2@illinois.edu>
Fri, 11 Jan 2008 21:23:26 +0000 (21:23 +0000)
committerIsaac Dooley <idooley2@illinois.edu>
Fri, 11 Jan 2008 21:23:26 +0000 (21:23 +0000)
more sense)

smart-build.pl

index 097f2b8ea13c2f40259731cc99219b13388f9427..9f66333c5c41f9f6ea4fc63c6610b257bfb61ffc 100755 (executable)
@@ -379,9 +379,9 @@ print << "EOF";
        
 Choose a set of compiler flags [1-5]
        1) none
-       2) debug
-       3) optimized [default]
-       4) optimized + projections
+       2) debug                      -g -O0
+       3) optimized + projections    -O2
+       4) optimized [default]        -O2 -DCMK_OPTIMIZE
        5) custom
        
 EOF
@@ -395,10 +395,10 @@ while($line = <>){
        } elsif($line eq "2"){
                $compiler_flags = "-g -O0";
                last;
-       } elsif($line eq "3" || $line eq ""){
+       } elsif($line eq "4" || $line eq ""){
                $compiler_flags = "-O2 -DCMK_OPTIMIZE";
                last;
-       } elsif($line eq "4"){ 
+       } elsif($line eq "3"){ 
                 $compiler_flags = "-O2"; 
                 last; 
         }  elsif($line eq "5"){