/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1400 by jpye, Sun Apr 22 06:09:28 2007 UTC revision 1402 by jpye, Sun Apr 22 07:04:12 2007 UTC
# Line 1187  int main(){ Line 1187  int main(){
1187  # so detect the version and act accordingly.  # so detect the version and act accordingly.
1188  def CheckSUNDIALS(context):  def CheckSUNDIALS(context):
1189      keep = KeepContext(context,'SUNDIALS')      keep = KeepContext(context,'SUNDIALS')
1190      context.Message("Checking SUNDIALS version... ")      context.Message("Checking for SUNDIALS... ")
1191      (is_ok,output) = context.TryRun(sundials_version_text,'.c')      (is_ok,output) = context.TryRun(sundials_version_text,'.c')
1192      keep.restore(context)      keep.restore(context)
1193      if not is_ok:      if not is_ok:
1194          context.Result("failed to run check")          context.Result(0)
1195          return 0          return 0
1196    
1197      major,minor,patch = tuple([int(i) for i in output.split(".")])      major,minor,patch = tuple([int(i) for i in output.split(".")])
# Line 1214  def CheckSUNDIALS(context): Line 1214  def CheckSUNDIALS(context):
1214            
1215    
1216  def CheckIDA(context):  def CheckIDA(context):
1217      context.Message( 'Checking for IDA (SUNDIALS)... ' )      context.Message( 'Checking for IDA... ' )
1218    
1219      keep = KeepContext(context,"IDA")      keep = KeepContext(context,"IDA")
1220    

Legend:
Removed from v.1400  
changed lines
  Added in v.1402

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22