[libclc] 09/21: configure: Add amdgcn-mesa-mesa3d target

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Feb 13 13:58:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

aboll-guest pushed a commit to branch master
in repository libclc.

commit 598792bc7e9eb636f0fa892180770afc2442a6eb
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Sep 16 22:43:33 2016 +0000

    configure: Add amdgcn-mesa-mesa3d target
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@281793 91177308-0d34-0410-b5e6-96231b3b80d8
---
 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')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list