/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 1488 by jpye, Sun Jun 10 05:22:00 2007 UTC revision 1501 by jpye, Thu Jun 21 14:40:28 2007 UTC
# Line 14  opts = Options(['options.cache', 'config Line 14  opts = Options(['options.cache', 'config
14  #print "PLATFORM = ",platform.system()  #print "PLATFORM = ",platform.system()
15    
16  default_tcl_cpppath = "$TCL/include"  default_tcl_cpppath = "$TCL/include"
17    default_tron_envvar="TRON_PATH"
18    default_conopt_envvar="CONOPT_PATH"
19    
20  if platform.system()=="Windows":  if platform.system()=="Windows":
21      default_tcl_lib = "tcl84"      default_tcl_lib = "tcl84"
# Line 38  if platform.system()=="Windows": Line 40  if platform.system()=="Windows":
40      default_conopt_cpppath="$CONOPT_PREFIX"      default_conopt_cpppath="$CONOPT_PREFIX"
41      default_conopt_dlpath="$CONOPT_PREFIX"      default_conopt_dlpath="$CONOPT_PREFIX"
42      default_conopt_lib="conopt3"      default_conopt_lib="conopt3"
43      default_conopt_envvar="CONOPT_PATH"  
44        default_conopt_dlpath="c:\\Program Files\\TRON"
45        default_conopt_lib="tron1"
46    
47      default_prefix="c:\\MinGW"      default_prefix="c:\\MinGW"
48      default_libpath="$DEFAULT_PREFIX\\lib"      default_libpath="$DEFAULT_PREFIX\\lib"
# Line 70  else: Line 74  else:
74      default_conopt_cpppath="$CONOPT_PREFIX/include"      default_conopt_cpppath="$CONOPT_PREFIX/include"
75      default_conopt_dlpath= default_conopt_libpath + ":/usr/local/lib"      default_conopt_dlpath= default_conopt_libpath + ":/usr/local/lib"
76      default_conopt_lib="consub3"      default_conopt_lib="consub3"
77      default_conopt_envvar="CONOPT_PATH"  
78        default_tron_prefix="/usr"
79        default_tron_dlpath="$TRON_PREFIX/lib"
80        default_tron_lib="tron1"
81    
82      default_prefix="/usr"      default_prefix="/usr"
83      default_libpath="$DEFAULT_PREFIX/lib"      default_libpath="$DEFAULT_PREFIX/lib"
# Line 139  opts.Add(ListOption( Line 146  opts.Add(ListOption(
146      'WITH_SOLVERS'      'WITH_SOLVERS'
147      ,"List of the solvers you want to build. The default is the minimum that"        ,"List of the solvers you want to build. The default is the minimum that"  
148          +" works."          +" works."
149      ,["QRSLV","CMSLV","LSOD","IDA","CONOPT","LRSLV"]      ,["QRSLV","CMSLV","LSOD","IDA","CONOPT","LRSLV","TRON"]
150      ,['QRSLV','MPS','SLV','OPTSQP'      ,['QRSLV','MPS','SLV','OPTSQP'
151          ,'NGSLV','CMSLV','LRSLV','MINOS','CONOPT'          ,'NGSLV','CMSLV','LRSLV','MINOS','CONOPT'
152          ,'LSOD','OPTSQP',"IDA"          ,'LSOD','OPTSQP',"IDA","TRON"
153       ]       ]
154  ))  ))
155    
# Line 312  opts.Add( Line 319  opts.Add(
319      ,default_conopt_envvar      ,default_conopt_envvar
320  )  )
321    
322    #------- TRON -------
323    
324    opts.Add(
325        'TRON_ENVVAR'
326        ,"What environment variable should be used at runtime to override the default search location for TRON DLL/SO?"
327        ,default_tron_envvar
328    )
329    
330    opts.Add(
331        "TRON_LIB"
332        ,"Library linked to for TRON"
333        ,"tron"
334    )
335    
336    opts.Add(PackageOption(
337        "TRON_PREFIX"
338        ,"Prefix for your TRON install"
339        ,default_tron_prefix
340    ))
341    
342    opts.Add(
343        'TRON_DLPATH'
344        ,"What is the default search path that ASCEND should use when dlopening the TRON library at runtime?"
345        ,default_tron_dlpath
346    )
347    
348  #-------- f2c ------  #-------- f2c ------
349    
350  opts.Add(  opts.Add(

Legend:
Removed from v.1488  
changed lines
  Added in v.1501

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