[Libclc-dev] [PATCH 3/3] configure: Add amdgcn-mesa-mesa3d target
Tom Stellard via Libclc-dev
libclc-dev at lists.llvm.org
Wed Sep 14 04:22:57 PDT 2016
---
configure.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.py b/configure.py
index b0125ef..9626f0e 100755
--- a/configure.py
+++ b/configure.py
@@ -105,7 +105,9 @@ available_targets = {
'nvptx64--nvidiacl' : { 'devices' : [{'gpu' : '', 'aliases' : []} ]},
}
-default_targets = ['nvptx--nvidiacl', 'nvptx64--nvidiacl', 'r600--', 'amdgcn--', 'amdgcn--amdhsa']
+available_targets['amdgcn-mesa-mesa3d'] = available_targets['amdgcn--']
+
+default_targets = ['nvptx--nvidiacl', 'nvptx64--nvidiacl', 'r600--', 'amdgcn--', 'amdgcn--amdhsa', 'amdgcn-mesa-mesa3d']
targets = args
if not targets:
@@ -167,6 +169,8 @@ for target in targets:
for arch in archs:
subdirs.append("%s-%s-%s" % (arch, t_vendor, t_os))
subdirs.append("%s-%s" % (arch, t_os))
+ if t_os == 'mesa3d':
+ subdirs.append('amdgcn-amdhsa')
subdirs.append(arch)
if arch == 'amdgcn' or arch == 'r600':
subdirs.append('amdgpu')
--
2.7.4
More information about the Libclc-dev
mailing list