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

Tom Stellard tom at stellard.net
Mon Apr 27 06:20:48 PDT 2015


On Sun, Apr 26, 2015 at 03:25:59PM +0200, EdB wrote:
> ---
>  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):

ToT libclc should work with ToT llvm, so if anything we should require LLVM 3.7.

-Tom

>      print "libclc requires LLVM 3.6"
>      sys.exit(1)
>  
> -- 
> 1.9.3
> 
> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev




More information about the Libclc-dev mailing list