aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/sycl/sycl/BUILD.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/sycl/sycl/BUILD.tpl')
-rwxr-xr-xthird_party/sycl/sycl/BUILD.tpl17
1 files changed, 14 insertions, 3 deletions
diff --git a/third_party/sycl/sycl/BUILD.tpl b/third_party/sycl/sycl/BUILD.tpl
index 6cad190630..b6ceaadda7 100755
--- a/third_party/sycl/sycl/BUILD.tpl
+++ b/third_party/sycl/sycl/BUILD.tpl
@@ -10,16 +10,27 @@ package(default_visibility = ["//visibility:public"])
exports_files(["LICENSE.text"])
config_setting(
- name = "using_sycl",
- values = {
- "define": "using_sycl=true",
+ name = "using_sycl_ccpp",
+ define_values = {
+ "using_sycl": "true",
+ "using_trisycl": "false",
},
)
+config_setting(
+ name = "using_sycl_trisycl",
+ define_values = {
+ "using_sycl": "true",
+ "using_trisycl": "false",
+ },
+)
+
+
cc_library(
name = "sycl_headers",
hdrs = glob([
"**/*.h",
+ "**/*.hpp",
]),
includes = [".", "include"],
)