[ROOT-5848] genreflex warning on icc (icpc not recognized) Created: 15/Dec/13  Updated: 18/Dec/13  Resolved: 17/Dec/13

Status: Closed
Project: ROOT
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Andrea Valassi Assignee: Benedikt Hegner
Resolution: Fixed Votes: 0
Labels: None
Environment:

ROOT_5_34_00-patches dev slot


Attachments: Text File genreflex.patch    
Development:

 Description   

I get build warnings on COOL for icc

#CMT---> (constituents.make) install_pythonmods done
echo ../x86_64-slc6-icc13-opt/dict/lcg_PyCool/PyCool_headers_dict.cpp PyCool_headers.h
../x86_64-slc6-icc13-opt/dict/lcg_PyCool/PyCool_headers_dict.cpp PyCool_headers.h
/build/nightlies/dev/Sun/LCGCMT/LCGCMT-preview/LCG_Settings/../../../ROOT/ROOT_5_34_00-patches/x86_64-slc6-icc13-opt/root/bin/genreflex /build/nightlies/dev/Sun/COOL/COOL-preview/src/PyCool/dict/PyCool_headers.h -o ../x86_64-slc6-icc13-opt/dict/lcg_PyCool/PyCool_headers_dict.cpp   \
			 --gccxmlopt='--gccxml-compiler icpc ' --select=../dict/PyCool_selection.xml  --gccxmlpath=/build/nightlies/dev/Sun/LCGCMT/LCGCMT-preview/LCG_Settings/../../../../../external/gccxml/0.9.0_20120309p2/x86_64-slc6-gcc47-opt/bin --rootmap=lcg_PyCoolDict.rootmap --rootmap-lib=liblcg_PyCoolDict  -D_GNU_SOURCE -I"/build/nightlies/dev/Sun/COOL/COOL-preview/src/PyCool" -I"/build/nightlies/dev/Sun/COOL/COOL-preview/src/CoolApplication" -I"/build/nightlies/dev/Sun/COOL/COOL-preview/src/RelationalCool" -I"/build/nightlies/dev/Sun/COOL/COOL-preview/src/CoolKernel" -I"/build/nightlies/dev/Sun/LCGCMT/LCGCMT-preview/LCG_Settings/../../../CORAL/CORAL-preview/include" -I"/build/nightlies/dev/Sun/LCGCMT/LCGCMT-preview/LCG_Settings/../../../../../external/Boost/1.55.0_python2.7/x86_64-slc6-gcc47-opt/include/boost-1_55" -I"/build/nightlies/dev/Sun/LCGCMT/LCGCMT-preview/LCG_Settings/../../../ROOT/ROOT_5_34_00-patches/x86_64-slc6-icc13-opt/root/include" -I"/build/nightlies/dev/Sun/LCGCMT/LCGCMT-preview/LCG_Settings/../../../../../external/Python/2.7.3/x86_64-slc6-gcc47-opt/include/python2.7" -I"/build/nightlies/dev/Sun/LCGCMT/LCGCMT-preview/LCG_Platforms/src"                         
 
--->> genreflex: WARNING: While trying to retrieve compiler version, found unknown compiler icpc

I guess this should be quite easy to fix.

grep "While trying to retrieve compiler version, found unknown compiler" /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.13/src/  -R --include='*.cpp' --include='*.cxx' --include='*.cc' --include='*.h' --include='*.hpp' --include='*.hh' --include='*.py' --include='*.f' --include='*.sh' --include='*.csh'
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.13/src/root/cint/reflex/python/genreflex/genreflex.py:      print '--->> genreflex: WARNING: While trying to retrieve compiler version, found unknown compiler %s' % compiler

Thanks
Andrea



 Comments   
Comment by Benedikt Hegner [ 17/Dec/13 ]

The attached patch fixes the issue.

Comment by Andrea Valassi [ 17/Dec/13 ]

thanks!
Andrea

Comment by Axel Naumann [ 17/Dec/13 ]

Pushed as 40ae98f. Thanks!

Comment by Andrea Valassi [ 18/Dec/13 ]

Hi Benedikt, thanks! The problem is indeed gone in the nightlies, no build warning left.

Generated at Wed Sep 18 15:44:53 CEST 2019 using Jira 7.13.1#713001-sha1:5e06076c2d215a6f699b7e5c90ab2fae7ba5a1ce.