File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 13
13
import subprocess as sp
14
14
import errno
15
15
16
+ from .version import wllvm_version
16
17
17
18
explain_LLVM_COMPILER = """
18
19
@@ -115,10 +116,11 @@ def checkOS(self):
115
116
def checkSwitch (self ):
116
117
"""Checks the correctness of the LLVM_COMPILER env var."""
117
118
compiler_type = os .getenv ('LLVM_COMPILER' )
119
+ vmsg = 'We are wllvm version {0} and' .format (wllvm_version )
118
120
if compiler_type == 'clang' :
119
- return (1 , '\n Good, we are using clang.\n ' )
121
+ return (1 , '\n {0} we are using clang.\n ' . format ( vmsg ) )
120
122
elif compiler_type == 'dragonegg' :
121
- return (2 , '\n OK, we are using dragonegg.\n ' )
123
+ return (2 , '\n {0} we are using dragonegg.\n ' . format ( vmsg ) )
122
124
else :
123
125
return (0 , explain_LLVM_COMPILER )
124
126
You can’t perform that action at this time.
0 commit comments