Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions gpu/sycl/dist_repo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ def _get_os(ctx):
def _get_dist_key(ctx):
oneapi_version = _get_oneapi_version(ctx)
os_id = _get_os(ctx)
if not oneapi_version or not os_id:
fail("ONEAPI_VERSION and OS must be set via --repo_env for hermetic build")
if not oneapi_version:
oneapi_version = "2025.1"
if not os_id:
os_id = "ubuntu_24.10"

return "{}_{}".format(os_id, oneapi_version)

Expand Down
2 changes: 1 addition & 1 deletion gpu/sycl/sycl.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

alias(
name = "sycl_headers",
actual = "@@oneapi//:headers"
actual = "@@oneapi//:headers",
visibility = ["//visibility:public"],
)
Loading