From a3fc6456092c81bccbe2b5a0789f1ad316676d03 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 28 May 2012 20:42:15 +0000 Subject: Switch to the NVPTX backend. llvm-svn: 157589 --- libclc/configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libclc/configure.py') diff --git a/libclc/configure.py b/libclc/configure.py index 310122be435..829ce6b0818 100755 --- a/libclc/configure.py +++ b/libclc/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') -- cgit v1.2.3