aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/sycl/crosstool/BUILD.tpl
diff options
context:
space:
mode:
authorGravatar luke iwanski <luke@codeplay.com>2016-10-17 21:14:25 +0100
committerGravatar luke iwanski <luke@codeplay.com>2016-10-17 21:14:25 +0100
commit1f88ec8eef88ec783a18a98816fbb15b21df6ee7 (patch)
treefb189f403e4458c00d625e363293254653184b14 /third_party/sycl/crosstool/BUILD.tpl
parent2050900830ed11bc7f9e939fee24c5b603ee8671 (diff)
Update to SYCL bazel toolchain.
Diffstat (limited to 'third_party/sycl/crosstool/BUILD.tpl')
-rwxr-xr-xthird_party/sycl/crosstool/BUILD.tpl29
1 files changed, 29 insertions, 0 deletions
diff --git a/third_party/sycl/crosstool/BUILD.tpl b/third_party/sycl/crosstool/BUILD.tpl
new file mode 100755
index 0000000000..ec0070e71d
--- /dev/null
+++ b/third_party/sycl/crosstool/BUILD.tpl
@@ -0,0 +1,29 @@
+licenses(["restricted"])
+
+package(default_visibility = ["//visibility:public"])
+
+cc_toolchain_suite(
+ name = "toolchain",
+ toolchains = {
+ "local|compiler": ":cc-compiler-local",
+ },
+)
+
+cc_toolchain(
+ name = "cc-compiler-local",
+ all_files = ":empty",
+ compiler_files = ":empty",
+ cpu = "local",
+ dwp_files = ":empty",
+ dynamic_runtime_libs = [":empty"],
+ linker_files = ":empty",
+ objcopy_files = ":empty",
+ static_runtime_libs = [":empty"],
+ strip_files = ":empty",
+ supports_param_files = 0,
+)
+
+filegroup(
+ name = "empty",
+ srcs = [],
+)