diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-11-13 15:38:02 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-11-13 15:38:02 +0000 |
commit | 07ce0707eb3504f46f9ed49491876e503b811642 (patch) | |
tree | 43c43aca9c1b9165e0e87202c537166b9d021ed1 | |
parent | 7520821f5b1a2be51b3521dabf2ef2cfc00147f1 (diff) |
s/-ccc-host-triple/-target/
-rwxr-xr-x | compile-test.sh | 2 | ||||
-rwxr-xr-x | configure.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compile-test.sh b/compile-test.sh index 7461811..47c7f38 100755 --- a/compile-test.sh +++ b/compile-test.sh @@ -1,3 +1,3 @@ #!/bin/sh -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 -Dcl_khr_fp64 "$@" +clang -target 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 -Dcl_khr_fp64 "$@" diff --git a/configure.py b/configure.py index 0449a0e..5062ab6 100755 --- a/configure.py +++ b/configure.py @@ -97,7 +97,7 @@ for target in targets: install_files += [(incdir, incdir[len(srcdir)+1:]) for incdir in incdirs] # The rule for building a .bc file for the specified architecture using clang. - clang_bc_flags = "-ccc-host-triple %s -I`dirname $in` %s " \ + clang_bc_flags = "-target %s -I`dirname $in` %s " \ "-Dcl_clang_storage_class_specifiers " \ "-Dcl_khr_fp64 " \ "-emit-llvm" % (target, clang_cl_includes) |