[Libclc-dev] [PATCH] configure: Require LLVM 4.0

Tom Stellard via Libclc-dev libclc-dev at lists.llvm.org
Mon Jul 25 19:54:29 PDT 2016


---
 configure.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.py b/configure.py
index 05fb3b0..2c8dd60 100755
--- a/configure.py
+++ b/configure.py
@@ -69,8 +69,8 @@ llvm_version = string.split(string.replace(llvm_config(['--version']), 'svn', ''
 llvm_int_version = int(llvm_version[0]) * 100 + int(llvm_version[1]) * 10
 llvm_string_version = 'LLVM' + llvm_version[0] + '.' + llvm_version[1]
 
-if llvm_int_version < 390:
-    print "libclc requires LLVM >= 3.9"
+if llvm_int_version < 400:
+    print "libclc requires LLVM >= 4.0"
     sys.exit(1)
 
 llvm_system_libs = llvm_config(['--system-libs'])
-- 
2.7.4



More information about the Libclc-dev mailing list