³ņ ”,9Mc@sķdZdZddkZddkZddkZddkZddkZddkZei djZ e o8ei ddjp$ei i dƒoei ddjZ ei djZei d jZe oddkZn/eoddkZneoddkZnddkZddkZd eiifd „ƒYZd efd „ƒYZdefd„ƒYZdefd„ƒYZd„Zd„Zd„Zd„Zd„Zddd„Z!d„Z"d„Z#ddddd„Z$d„Z%dS(sSCons.Tool.icl Tool-specific initialization for the Intel C/C++ compiler. Supports Linux and Windows compilers, v7 and up. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method. s>src/engine/SCons/Tool/intelc.py 4629 2010/01/17 22:23:21 sconsi’’’’Ntwin32tPROCESSOR_ARCHITECTUREtAMD64tPROCESSOR_ARCHITEW6432tlinux2tdarwint IntelCErrorcBseZRS((t__name__t __module__(((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyR8stMissingRegistryErrorcBseZRS((RR(((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyR :stMissingDirErrorcBseZRS((RR(((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyR <stNoRegistryModuleErrorcBseZRS((RR(((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyR >scCs+h}x|D]}d||}tiitii ||d d ƒƒo||}PqĻqĻW|pt d |||f‚q6n|S(sŠ Return the main path to the top-level dir of the Intel compiler, using the given version. The compiler will be in /bin/icl.exe (icc on linux), the include dir is /include, etc. s$No Windows registry module was foundRItBinsicl.exesCan't find Intel compiler in %ss/opt/intel/cc/%ss/opt/intel_cc_%sR"s/opt/intel/cce/%stbinticcs5Can't find version %s Intel compiler in %s (abi='%s')(s/opt/intel/cc/%ss/opt/intel_cc_%s(s/opt/intel/cce/%sN(RR(R;t can_read_regR RDRMRNROtjoinR R&R%R#(RAR+ttoptdirsR^((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pytget_intel_compiler_topśs,  &)  )  icCs~tp tptpdSntotiii|ƒn=totiii|ƒntotiii|ƒntƒ}|p|o|d}qänEt ||ƒ}|p(ti i d|ddi |ƒ‚n|}t |ƒ}|djoZtpto1tiƒd}|djo d}qSd}qWto d }qWd}n|oG| o?yt||ƒ}Wq„tiitfj o d}q„Xn|pĶd tiifd „ƒY}tpto|id ƒ ptoN|id ƒ o=tii|ƒtii|dt|ƒt|ƒfƒqytii|ƒtii|dt|ƒt|ƒfƒn|o%|o]dt|ƒt|ƒ||fGHtotid|ƒntotid|ƒqän||d0, prints compiler version used. Nis#Invalid Intel compiler version %s: sinstalled versions are %ss, iR"RR tICLTopDirWarningcBseZRS((RR(((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyRjZsRdticls8Failed to find Intel compiler for version='%s', abi='%s's<Can't find Intel compiler top dir for version='%s', abi='%s's8Intel C compiler: using version %s (%g), abi %s, in '%s's%s/bin/icc --versiontINTEL_C_COMPILER_TOPtincludetINCLUDEtlibtLIBRctPATHtLD_LIBRARY_PATHt IncludeDirtIncludetLibDirtLibtBinDirRbtis$(ICInstallDir)itCCtCXXtxilinktLINKticpctxiartARtxildtLDtINTEL_C_COMPILER_VERSIONtINTEL_LICENSE_FILEsSOFTWARE\Intel\Licensestw_cpps,C:\Program Files\Common Files\Intel\Licensest@i’’’’tICLLicenseDirWarningcBseZRS((RR(((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyR†Ęss¶Intel license dir was not found. Tried using the INTEL_LICENSE_FILE environment variable (%s), the registry (%s) and the default path (%s). Using the default path as a last resort.tENV(RnRssInclude(RpRusLib(sPATHRwsBin(0R&R%RR(tTooltmsvctgeneratetgccRaR8R)R*RfR-R#RMtunameR9RiR;R>RtWarningstWarningtDetecttenableWarningClasstwarnRRtreprRtsystemR tPrependENVPathRNRDtreplacetseptstringtsplittpathseptenvirontgetR<R=R?tAttributeErrortfindRO(tenvRAR+ttopdirtverboseR5R4tuname_mRjtpathstpRNt envlicdirRBRCt reglicdirt defaultlicdirtlicdirtldR†((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyRŠsģ                  +     +   ,/        3  cCsČtp tptpdSny tƒ}Wn%tiitfj o d}nX|dj ot |ƒdj}|pLto|i dƒSqÄto|i dƒSqÄto|i dƒSqÄn|S(NiRkRd( R&R%RRaR(R;R>RR#tlenR(RžRXtdetected((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pyROŠs  (&t__doc__t __revision__R2tsystos.pathRMRTR—RtplatformRRšthas_keyR9R%R&tSCons.Tool.msvcR(tSCons.Tool.gcct SCons.UtiltSCons.WarningsR)t InternalErrorRR R R RRR-R1R8R#RDRaRiRŠRO(((s6install/lib/scons-1.2.0.d20100117/SCons/Tool/intelc.pys s<H      O !µ