summaryrefslogtreecommitdiffstats
path: root/libclc/compile-test.sh
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2012-01-08 22:09:58 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2012-01-08 22:09:58 +0000
commitd5395fbf03dc168d00bc8622e86fefbac9a3da2a (patch)
tree2c24697a31ef5ef5445a8ad143aa34f4ef42db9d /libclc/compile-test.sh
parent11faafe7dce2bd8befa3e2444c2292edcd9b2d50 (diff)
downloadbcm5719-llvm-d5395fbf03dc168d00bc8622e86fefbac9a3da2a.tar.gz
bcm5719-llvm-d5395fbf03dc168d00bc8622e86fefbac9a3da2a.zip
Initial commit.
llvm-svn: 147756
Diffstat (limited to 'libclc/compile-test.sh')
-rwxr-xr-xlibclc/compile-test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/libclc/compile-test.sh b/libclc/compile-test.sh
new file mode 100755
index 00000000000..f322fbd57ef
--- /dev/null
+++ b/libclc/compile-test.sh
@@ -0,0 +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 "$@"
OpenPOWER on IntegriCloud