/[escript]/trunk/bruce/SConstruct
ViewVC logotype

Diff of /trunk/bruce/SConstruct

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

revision 214 by jgs, Thu Nov 24 05:15:26 2005 UTC revision 241 by jgs, Mon Nov 28 06:14:47 2005 UTC
# Line 1  Line 1 
1  # Scons configuration file for bruce  # Scons configuration file for bruce
2    
3  import os  import os
4    import sys
5    
6  #  #
7  # ensure correct versions of python and scons  # ensure correct versions of python and scons
# Line 60  Export(["libdir"]) Line 61  Export(["libdir"])
61  #  #
62  # load and export configuration settings  # load and export configuration settings
63    
64  python_path = '/raid2/tools/python-2.3.4/include/python2.3'  options_dir = str(esysroot) + '/scons'
65  boost_path = '/raid2/tools/boost/include/boost-1_31'  sys.path.append(options_dir)
66    
67  cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -fpic -w1'  if hostname=='ess':
68     from ess_options import *
69    
70    if usegcc==1:
71      from gcc_options import *
72    
73    if dodebug==1:
74      cxx_flags=cxx_flags_debug
75    
76  Export(["python_path"])  Export(["python_path"])
77  Export(["boost_path"])  Export(["boost_path"])
78    Export(["cxx"])
79  Export(["cxx_flags"])  Export(["cxx_flags"])
80    
81  #  #
# Line 76  print "################################# Line 85  print "#################################
85  print "Build configuration for module: bruce"  print "Build configuration for module: bruce"
86  print "         dodebug: ", dodebug  print "         dodebug: ", dodebug
87  print "          usegcc: ", usegcc  print "          usegcc: ", usegcc
88    print "             cxx: ", cxx
89  print "        platform: ", platform  print "        platform: ", platform
90  print "        hostname: ", hostname  print "        hostname: ", hostname
91  print "      libinstall: ", libinstall  print "      libinstall: ", libinstall

Legend:
Removed from v.214  
changed lines
  Added in v.241

  ViewVC Help
Powered by ViewVC 1.1.26