diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2012-05-28 20:42:15 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2012-05-28 20:42:15 +0000 |
commit | a3fc6456092c81bccbe2b5a0789f1ad316676d03 (patch) | |
tree | 58dd3a1ff7be089db6bcfb4ed6f349d577ac7cd8 /libclc/configure.py | |
parent | 7e64fd9d53d00013a29976a8d649a696f4ff4fc5 (diff) | |
download | bcm5719-llvm-a3fc6456092c81bccbe2b5a0789f1ad316676d03.tar.gz bcm5719-llvm-a3fc6456092c81bccbe2b5a0789f1ad316676d03.zip |
Switch to the NVPTX backend.
llvm-svn: 157589
Diffstat (limited to 'libclc/configure.py')
-rwxr-xr-x | libclc/configure.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |