summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-09-16 22:43:33 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-09-16 22:43:33 +0000
commit598792bc7e9eb636f0fa892180770afc2442a6eb (patch)
tree195610dcd5bcd1b9980a6164f3acac1ce3642b27
parent62ca771ed8eef1040a146752b459a337c592ffa5 (diff)
configure: Add amdgcn-mesa-mesa3d target
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@281793 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xconfigure.py6
1 files changed, 5 insertions, 1 deletions
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')