diff --git a/ispc.h b/ispc.h index 32999231..b5d0a3ab 100644 --- a/ispc.h +++ b/ispc.h @@ -38,6 +38,8 @@ #ifndef ISPC_H #define ISPC_H +#define ISPC_VERSION "1.2.0dev" + #if !defined(LLVM_2_9) && !defined(LLVM_3_0) && !defined(LLVM_3_0svn) && !defined(LLVM_3_1svn) #error "Only LLVM 2.9, 3.0, and the 3.1 development branch are supported" #endif diff --git a/main.cpp b/main.cpp index 538414b6..4ce164bf 100644 --- a/main.cpp +++ b/main.cpp @@ -65,8 +65,8 @@ static void lPrintVersion() { - printf("Intel(r) SPMD Program Compiler (ispc), build %s (%s, LLVM %s)\n", - BUILD_DATE, BUILD_VERSION, + printf("Intel(r) SPMD Program Compiler (ispc), %s (build %s @ %s, LLVM %s)\n", + ISPC_VERSION, BUILD_VERSION, BUILD_DATE, #ifdef LLVM_2_9 "2.9" #elif defined(LLVM_3_0) || defined(LLVM_3_0svn)