From 088faab429538c6123024f6f173ee6e35845f445 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 11 Nov 2016 21:34:47 +0000 Subject: Fix build since llvm r286566 and require at least llvm 4.0 llvm-svn: 286634 --- libclc/configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libclc/configure.py') diff --git a/libclc/configure.py b/libclc/configure.py index 9626f0e7179..f26f5359a3e 100755 --- a/libclc/configure.py +++ b/libclc/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']) -- cgit v1.2.3