/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 455 by johnpye, Wed Apr 5 07:50:22 2006 UTC revision 459 by johnpye, Fri Apr 7 08:05:05 2006 UTC
# Line 81  opts.Add( Line 81  opts.Add(
81      'DEFAULT_ASCENDLIBRARY'      'DEFAULT_ASCENDLIBRARY'
82      ,"Set the default value of the ASCENDLIBRARY -- the location where"      ,"Set the default value of the ASCENDLIBRARY -- the location where"
83          +" ASCEND will look for models when running ASCEND"          +" ASCEND will look for models when running ASCEND"
84      ,os.path.expanduser("~/src/ascend/trunk/models")      ,"$INSTALL_DATA/models"
85  )  )
86    
87  # Where is SWIG?  # Where is SWIG?
# Line 105  opts.Add(BoolOption( Line 105  opts.Add(BoolOption(
105  opts.Add(PackageOption(  opts.Add(PackageOption(
106      'CUNIT_CPPPATH'      'CUNIT_CPPPATH'
107      ,"Where are your CUnit include files?"      ,"Where are your CUnit include files?"
108      ,None      ,'off'
109  ))  ))
110    
111  # Where are the CUnit libraries?  # Where are the CUnit libraries?
112  opts.Add(PackageOption(  opts.Add(PackageOption(
113      'CUNIT_LIBPATH'      'CUNIT_LIBPATH'
114      ,"Where are your CUnit libraries?"      ,"Where are your CUnit libraries?"
115      ,None      ,'off'
116  ))  ))
117    
118  # Where are the Tcl includes?  # Where are the Tcl includes?
119  opts.Add(PackageOption(  opts.Add(PackageOption(
120      'TCL_CPPPATH'      'TCL_CPPPATH'
121      ,"Where are your Tcl include files?"      ,"Where are your Tcl include files?"
122      ,None      ,'off'
123  ))  ))
124    
125  # Where are the Tcl libs?  # Where are the Tcl libs?
126  opts.Add(PackageOption(  opts.Add(PackageOption(
127      'TCL_LIBPATH'      'TCL_LIBPATH'
128      ,"Where are your Tcl libraries?"      ,"Where are your Tcl libraries?"
129      ,None      ,'off'
130  ))  ))
131    
132  # What is the name of the Tcl lib?  # What is the name of the Tcl lib?
# Line 140  opts.Add( Line 140  opts.Add(
140  opts.Add(PackageOption(  opts.Add(PackageOption(
141      'TK_CPPPATH'      'TK_CPPPATH'
142      ,"Where are your Tk include files?"      ,"Where are your Tk include files?"
143      ,None      ,'off'
144  ))  ))
145    
146  # Where are the Tk libs?  # Where are the Tk libs?
147  opts.Add(PackageOption(  opts.Add(PackageOption(
148      'TK_LIBPATH'      'TK_LIBPATH'
149      ,"Where are your Tk libraries?"      ,"Where are your Tk libraries?"
150      ,None      ,'off'
151  ))  ))
152    
153  # What is the name of the Tk lib?  # What is the name of the Tk lib?
# Line 461  conf = Configure(env Line 461  conf = Configure(env
461  #       , 'CheckIsNan' : CheckIsNan  #       , 'CheckIsNan' : CheckIsNan
462  #       , 'CheckCppUnitConfig' : CheckCppUnitConfig  #       , 'CheckCppUnitConfig' : CheckCppUnitConfig
463      }      }
464      , config_h = "config.h"  #   , config_h = "config.h"
465  )  )
466    
467    
# Line 524  if with_cunit_tests: Line 524  if with_cunit_tests:
524    
525  # BLAS  # BLAS
526    
527  if conf.CheckLib('blas'):  need_blas=False
528      print "FOUND BLAS"  if with_tcltk_gui:
529      with_local_blas = False      need_blas=True
530      without_local_blas_reason = "Found BLAS installed on system"  if need_blas:
531  else:      if conf.CheckLib('blas'):
532      print "DIDN'T FIND BLAS"          print "FOUND BLAS"
533      with_local_blas = True          with_local_blas = False
534      need_fortran = True          without_local_blas_reason = "Found BLAS installed on system"
535        else:
536            print "DIDN'T FIND BLAS"
537            with_local_blas = True
538            need_fortran = True
539    
540  # FORTRAN  # FORTRAN
541    

Legend:
Removed from v.455  
changed lines
  Added in v.459

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