equal
deleted
inserted
replaced
69 testenv = Environment() |
69 testenv = Environment() |
70 Tool("intelc").generate(testenv) |
70 Tool("intelc").generate(testenv) |
71 intelcversion = str(testenv['INTEL_C_COMPILER_VERSION']/10.) |
71 intelcversion = str(testenv['INTEL_C_COMPILER_VERSION']/10.) |
72 context.Result(intelcversion) |
72 context.Result(intelcversion) |
73 else: |
73 else: |
|
74 intelcversion = '' |
74 context.Result(intelc) |
75 context.Result(intelc) |
75 return intelc |
76 return intelc |
76 |
77 |
77 def CheckGCC(context): |
78 def CheckGCC(context): |
78 global gcc, gccversion |
79 global gcc, gccversion |
80 gcc = "g++" in env['TOOLS'] |
81 gcc = "g++" in env['TOOLS'] |
81 if gcc: |
82 if gcc: |
82 gccversion = env['CCVERSION'] |
83 gccversion = env['CCVERSION'] |
83 context.Result(gccversion) |
84 context.Result(gccversion) |
84 else: |
85 else: |
|
86 gccversion = '' |
85 context.Result(False) |
87 context.Result(False) |
86 return gcc |
88 return gcc |
87 |
89 |
88 def CheckCPUFlags(context): |
90 def CheckCPUFlags(context): |
89 global cpu, cpuflags_gcc, cpuflags_intelc |
91 global cpu, cpuflags_gcc, cpuflags_intelc |