[libclc] 06/291: Switch to the NVPTX backend.

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:26 UTC 2015


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

anbe pushed a commit to branch master
in repository libclc.

commit 5ea05cf610d3c536ec370879b6424a89156d2004
Author: Peter Collingbourne <peter at pcc.me.uk>
Date:   Mon May 28 20:42:15 2012 +0000

    Switch to the NVPTX backend.
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157589 91177308-0d34-0410-b5e6-96231b3b80d8
---
 compile-test.sh | 2 +-
 configure.py    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compile-test.sh b/compile-test.sh
index f322fbd..d0f4bb4 100755
--- a/compile-test.sh
+++ b/compile-test.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-clang -ccc-host-triple ptx32--nvidiacl -Iptx-nvidiacl/include -Igeneric/include -Xclang -mlink-bitcode-file -Xclang ptx32--nvidiacl/lib/builtins.bc -include clc/clc.h -Dcl_clang_storage_class_specifiers "$@"
+clang -ccc-host-triple nvptx--nvidiacl -Iptx-nvidiacl/include -Igeneric/include -Xclang -mlink-bitcode-file -Xclang nvptx--nvidiacl/lib/builtins.bc -include clc/clc.h -Dcl_clang_storage_class_specifiers "$@"
diff --git a/configure.py b/configure.py
index 310122b..829ce6b 100755
--- a/configure.py
+++ b/configure.py
@@ -40,7 +40,7 @@ llvm_clang = os.path.join(llvm_bindir, 'clang')
 llvm_link = os.path.join(llvm_bindir, 'llvm-link')
 llvm_opt = os.path.join(llvm_bindir, 'opt')
 
-default_targets = ['ptx32--nvidiacl', 'ptx64--nvidiacl']
+default_targets = ['nvptx--nvidiacl', 'nvptx64--nvidiacl']
 
 targets = args
 if not targets:
@@ -73,7 +73,7 @@ manifest_deps = set([sys.argv[0], os.path.join(srcdir, 'build', 'metabuild.py'),
 for target in targets:
   (t_arch, t_vendor, t_os) = target.split('-')
   archs = [t_arch]
-  if t_arch == 'ptx32' or t_arch == 'ptx64':
+  if t_arch == 'nvptx' or t_arch == 'nvptx64':
     archs.append('ptx')
   archs.append('generic')
 

-- 
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