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

Diff of /branches/diaplayground/SConstruct

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

revision 5083 by caltinay, Fri Jun 20 05:24:53 2014 UTC revision 5084 by caltinay, Sun Jun 29 23:29:51 2014 UTC
# Line 157  env = Environment(tools = ['default'], o Line 157  env = Environment(tools = ['default'], o
157  def mkclang(env):  def mkclang(env):
158      env['CXX']='clang++'      env['CXX']='clang++'
159    
160  if env['tools_names'] != 'default':  if env['tools_names'] != ['default']:
161      zz=env['tools_names']      zz=env['tools_names']
162      if 'clang' in zz:      if 'clang' in zz:
163          zz.remove('clang')          zz.remove('clang')
# Line 386  for key in 'OMP_NUM_THREADS', 'ESCRIPT_N Line 386  for key in 'OMP_NUM_THREADS', 'ESCRIPT_N
386      try:      try:
387          env['ENV'][key] = os.environ[key]          env['ENV'][key] = os.environ[key]
388      except KeyError:      except KeyError:
389          env['ENV'][key] = 1          env['ENV'][key] = '1'
390    
391  env_export=env['env_export']  env_export=env['env_export']
392  env_export.extend(['ESCRIPT_NUM_THREADS','ESCRIPT_HOSTFILE','DISPLAY','XAUTHORITY','PATH','HOME','KMP_MONITOR_STACKSIZE','TMPDIR','TEMP','TMP','LD_PRELOAD'])  env_export.extend(['ESCRIPT_NUM_THREADS','ESCRIPT_HOSTFILE','DISPLAY','XAUTHORITY','PATH','HOME','KMP_MONITOR_STACKSIZE','TMPDIR','TEMP','TMP','LD_PRELOAD'])
# Line 435  env.Append(BUILDERS = {'RunUnitTest' : r Line 435  env.Append(BUILDERS = {'RunUnitTest' : r
435  runPyUnitTest_builder = Builder(action = runPyUnitTest, suffix = '.passed', src_suffic='.py', single_source=True)  runPyUnitTest_builder = Builder(action = runPyUnitTest, suffix = '.passed', src_suffic='.py', single_source=True)
436  env.Append(BUILDERS = {'RunPyUnitTest' : runPyUnitTest_builder});  env.Append(BUILDERS = {'RunPyUnitTest' : runPyUnitTest_builder});
437    
438    runPyExample_builder = Builder(action = runPyExample, suffix = '.passed', src_suffic='.py', single_source=True)
439    env.Append(BUILDERS = {'RunPyExample' : runPyExample_builder});
440    
441  epstopdfbuilder = Builder(action = eps2pdf, suffix='.pdf', src_suffix='.eps', single_source=True)  epstopdfbuilder = Builder(action = eps2pdf, suffix='.pdf', src_suffix='.eps', single_source=True)
442  env.Append(BUILDERS = {'EpsToPDF' : epstopdfbuilder});  env.Append(BUILDERS = {'EpsToPDF' : epstopdfbuilder});
443    

Legend:
Removed from v.5083  
changed lines
  Added in v.5084

  ViewVC Help
Powered by ViewVC 1.1.26