diff options
Diffstat (limited to 'libclc/configure.py')
-rwxr-xr-x | libclc/configure.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libclc/configure.py b/libclc/configure.py index d591ef8251b..2663212a3cf 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 < 370: - print "libclc requires LLVM >= 3.7" +if llvm_int_version < 390: + print "libclc requires LLVM >= 3.9" sys.exit(1) llvm_system_libs = llvm_config(['--system-libs']) @@ -175,8 +175,8 @@ for target in targets: subdirs.append("%s-%s-%s" % (arch, t_vendor, t_os)) subdirs.append("%s-%s" % (arch, t_os)) subdirs.append(arch) - if arch == 'amdgcn': - subdirs.append('r600') + if arch == 'amdgcn' or arch == 'r600': + subdirs.append('amdgpu') incdirs = filter(os.path.isdir, [os.path.join(srcdir, subdir, 'include') for subdir in subdirs]) |