/[escript]/branches/domexper/SConstruct
ViewVC logotype

Diff of /branches/domexper/SConstruct

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

revision 1930 by phornby, Fri Oct 24 09:35:55 2008 UTC revision 2012 by phornby, Mon Nov 10 12:13:45 2008 UTC
# Line 125  opts.AddOptions( Line 125  opts.AddOptions(
125  # BLAS (used by UMFPACK)  # BLAS (used by UMFPACK)
126    ('blas_path', 'Path to BLAS includes', '/usr/include/suitesparse'),    ('blas_path', 'Path to BLAS includes', '/usr/include/suitesparse'),
127    ('blas_lib_path', 'Path to BLAS libs', usr_lib),    ('blas_lib_path', 'Path to BLAS libs', usr_lib),
128    ('blas_libs', 'BLAS libraries to link with', ['blas'])    ('blas_libs', 'BLAS libraries to link with', ['blas']),
129    # An option for specifying the compiler tools set (see windows branch).
130      ('tools_names', 'allow control over the tools in the env setup', ['intelc'])
131  )  )
132    
133  ############ Specify which compilers to use ####################  ############ Specify which compilers to use ####################
# Line 134  opts.AddOptions( Line 136  opts.AddOptions(
136  # failing to find the compilers.  This warning can be safely ignored.  # failing to find the compilers.  This warning can be safely ignored.
137    
138  if IS_WINDOWS_PLATFORM:  if IS_WINDOWS_PLATFORM:
139        env = Environment(tools = ['default', 'msvc'], options = opts)        env = Environment(options = opts)
140        #env = Environment(tools = ['default', 'intelc'], options = opts)        env = Environment(tools = ['default'] + env['tools_names'],
141                            options = opts)
142  else:  else:
143     if socket.gethostname().split('.')[0] == 'service0':     if socket.gethostname().split('.')[0] == 'service0':
144        env = Environment(tools = ['default', 'intelc'], options = opts)        env = Environment(tools = ['default', 'intelc'], options = opts)

Legend:
Removed from v.1930  
changed lines
  Added in v.2012

  ViewVC Help
Powered by ViewVC 1.1.26