aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/sycl/crosstool/BUILD.tpl
diff options
context:
space:
mode:
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..f539a376c8
--- /dev/null
+++ b/third_party/sycl/crosstool/BUILD.tpl
@@ -0,0 +1,29 @@
+licenses(["notice"]) # Apache 2.0
+
+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 = [],
+)