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

Jan Vesely via Libclc-dev libclc-dev at lists.llvm.org
Tue Jul 26 07:56:07 PDT 2016


On Tue, 2016-07-26 at 02:54 +0000, Tom Stellard via Libclc-dev wrote:

maybe add a commit message why this is necessary? shouldn't the
amdgcn-- target still be good for clover and llvm-3.9 ?

Jan

> ---
>  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'])
-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20160726/065035d2/attachment-0001.sig>


More information about the Libclc-dev mailing list