/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 1711 by jpye, Sun Jan 6 03:42:21 2008 UTC revision 1712 by jpye, Mon Jan 7 01:07:04 2008 UTC
# Line 1  Line 1 
1  import sys, os, commands, platform, distutils.sysconfig, os.path, re  import sys, os, commands, platform, distutils.sysconfig, os.path, re, types
   
2  version = "0.9.5.114"  version = "0.9.5.114"
3    
4  pyversion = "%d.%d" % (sys.version_info[0],sys.version_info[1])  pyversion = "%d.%d" % (sys.version_info[0],sys.version_info[1])
# Line 806  env = Environment( Line 805  env = Environment(
805    
806  opts.Update(env)  opts.Update(env)
807    
808    for l in ['GRAPHVIZ','SUNDIALS','IPOPT']:
809        var = "%s_LIBS" % l
810        if not isinstance(env[var],types.ListType):
811            env[var] = env[var].split(",")
812    
813  if 'LSOD' in env['WITH_SOLVERS']:  if 'LSOD' in env['WITH_SOLVERS']:
814      if 'LSODE' not in env['WITH_SOLVERS']:      if 'LSODE' not in env['WITH_SOLVERS']:
815          env['WITH_SOLVERS'].append('LSODE')          env['WITH_SOLVERS'].append('LSODE')

Legend:
Removed from v.1711  
changed lines
  Added in v.1712

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