Update build to handle existence of LLVM 3.2 dev branch.

We now compile with LLVM 3.0, 3.1, and 3.2svn.
This commit is contained in:
Matt Pharr
2012-05-03 08:25:25 -07:00
parent c4b1d79c5c
commit ee1fe3aa9f
9 changed files with 85 additions and 135 deletions

View File

@@ -62,8 +62,10 @@ lPrintVersion() {
ISPC_VERSION, BUILD_VERSION, BUILD_DATE,
#if defined(LLVM_3_0)
"3.0"
#elif defined(LLVM_3_1) || defined(LLVM_3_1svn)
#elif defined(LLVM_3_1)
"3.1"
#elif defined(LLVM_3_2)
"3.2"
#else
#error "Unhandled LLVM version"
#endif