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

Diff of /branches/diaplayground/SConstruct

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

revision 3462 by caltinay, Fri Dec 3 04:14:56 2010 UTC revision 3463 by caltinay, Mon Feb 7 02:09:57 2011 UTC
# 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.3462  
changed lines
  Added in v.3463

  ViewVC Help
Powered by ViewVC 1.1.26