Skip to content
Snippets Groups Projects
Commit 05ddaf06 authored by Stefan Roiser's avatar Stefan Roiser
Browse files

Print some info/warning/error message where the gccxml executable is found/or not

git-svn-id: http://root.cern.ch/svn/root/trunk@17016 27541ba8-7e3a-0410-8455-c3a389f83636
parent a6aed685
No related branches found
No related tags found
No related merge requests found
...@@ -204,13 +204,17 @@ class genreflex: ...@@ -204,13 +204,17 @@ class genreflex:
pass pass
if self.gccxmlpath : if self.gccxmlpath :
self.gccxml = self.gccxmlpath + os.sep + 'gccxml' self.gccxml = self.gccxmlpath + os.sep + 'gccxml'
if not os.path.isfile(self.gccxml) :
print '--->> genreflex: ERROR: Path to gccxml given, but no executable found at', self.gccxml
elif self.which('gccxml') : elif self.which('gccxml') :
self.gccxml = 'gccxml' self.gccxml = 'gccxml'
print '--->> genreflex: INFO: No explicit path to gccxml given. Found gccxml at', self.which('gccxml')
else : else :
if sys.platform == 'win32' : if sys.platform == 'win32' :
self.gccxml = r'\\cern.ch\dfs\Experiments\sw\lcg\external\gccxml\0.6.0_patch3\win32_vc71\bin\gccxml' self.gccxml = r'\\cern.ch\dfs\Experiments\sw\lcg\external\gccxml\0.6.0_patch3\win32_vc71\bin\gccxml'
else : else :
self.gccxml = '/afs/cern.ch/sw/lcg/external/gccxml/0.6.0_patch3/slc3_ia32_gcc323/bin/gccxml' self.gccxml = '/afs/cern.ch/sw/lcg/external/gccxml/0.6.0_patch3/slc3_ia32_gcc323/bin/gccxml'
print '--->> genreflex: INFO: No gccxml executable found, using fallback location at', self.gccxml
#---------------Open selection file------------------- #---------------Open selection file-------------------
try : try :
if self.select : self.selector = selclass.selClass(self.select,parse=1) if self.select : self.selector = selclass.selClass(self.select,parse=1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment