aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/sycl/sycl_configure.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/sycl/sycl_configure.bzl')
-rw-r--r--third_party/sycl/sycl_configure.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/sycl/sycl_configure.bzl b/third_party/sycl/sycl_configure.bzl
index 5b9d0eb383..a0c9e4e43a 100644
--- a/third_party/sycl/sycl_configure.bzl
+++ b/third_party/sycl/sycl_configure.bzl
@@ -67,6 +67,7 @@ def find_computecpp_root(repository_ctx):
def find_trisycl_include_dir(repository_ctx):
"""Find triSYCL include directory. """
+ sycl_name = ""
if _TRISYCL_INCLUDE_DIR in repository_ctx.os.environ:
sycl_name = repository_ctx.os.environ[_TRISYCL_INCLUDE_DIR].strip()
if sycl_name.startswith("/"):