[Libclc-dev] [PATCH] libclc stricly requires LLVM 3.6

EdB edb+libclc at sigluy.net
Sun Apr 26 06:25:59 PDT 2015


---
 configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
index 7d4b537..df41c3e 100755
--- a/configure.py
+++ b/configure.py
@@ -66,7 +66,7 @@ def llvm_config(args):
     sys.exit(1)
 
 llvm_version = string.split(string.replace(llvm_config(['--version']), 'svn', ''), '.')
-if (int(llvm_version[0]) != 3 and int(llvm_version[1]) != 6):
+if (int(llvm_version[0]) != 3 or int(llvm_version[1]) != 6):
     print "libclc requires LLVM 3.6"
     sys.exit(1)
 
-- 
1.9.3





More information about the Libclc-dev mailing list