/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 3393 by caltinay, Fri Dec 3 04:14:56 2010 UTC revision 3466 by caltinay, Tue Feb 8 05:16:21 2011 UTC
# Line 312  for key in 'OMP_NUM_THREADS', 'ESCRIPT_N Line 312  for key in 'OMP_NUM_THREADS', 'ESCRIPT_N
312          env['ENV'][key] = 1          env['ENV'][key] = 1
313    
314  env_export=env['env_export']  env_export=env['env_export']
315  env_export.extend(['ESCRIPT_NUM_THREADS','ESCRIPT_HOSTFILE','DISPLAY','XAUTHORITY','PATH','HOME'])  env_export.extend(['ESCRIPT_NUM_THREADS','ESCRIPT_HOSTFILE','DISPLAY','XAUTHORITY','PATH','HOME','TMPDIR','TEMP','TMP'])
316    
317  for key in set(env_export):  for key in set(env_export):
318      try:      try:
# Line 567  if env['parmetis']: Line 567  if env['parmetis']:
567      env.PrependENVPath(LD_LIBRARY_PATH_KEY, parmetis_lib_path)      env.PrependENVPath(LD_LIBRARY_PATH_KEY, parmetis_lib_path)
568      env.Append(CPPDEFINES = ['USE_PARMETIS'])      env.Append(CPPDEFINES = ['USE_PARMETIS'])
569    
570    ######## gmsh (optional, for tests)
571    
572    try:
573        import subprocess
574        p=subprocess.Popen(['gmsh', '-version'], stderr=subprocess.PIPE)
575        p.poll()
576        env['gmsh']=True
577    except OSError:
578        env['gmsh']=False
579    
580  ######################## Summarize our environment ###########################  ######################## Summarize our environment ###########################
581    
582  # keep some of our install paths first in the list for the unit tests  # keep some of our install paths first in the list for the unit tests
# Line 612  for i in e_list: Line 622  for i in e_list:
622      print("%16s:  YES"%i)      print("%16s:  YES"%i)
623  for i in d_list:  for i in d_list:
624      print("%16s:  DISABLED"%i)      print("%16s:  DISABLED"%i)
625    if env['gmsh']:
626        print("            gmsh:  FOUND")
627    else:
628        print("            gmsh:  NOT FOUND")
629  if ((fatalwarning != '') and (env['werror'])):  if ((fatalwarning != '') and (env['werror'])):
630      print("  Treating warnings as errors")      print("  Treating warnings as errors")
631  else:  else:

Legend:
Removed from v.3393  
changed lines
  Added in v.3466

  ViewVC Help
Powered by ViewVC 1.1.26