diff --git a/xla/service/gpu/BUILD b/xla/service/gpu/BUILD index 16e537a4a5105..1ee3a6b5cd5b7 100644 --- a/xla/service/gpu/BUILD +++ b/xla/service/gpu/BUILD @@ -1,6 +1,7 @@ # Description: # GPU-specific components in XLA service implementation. +load("@bazel_skylib//rules:common_settings.bzl", "bool_flag") load("@local_config_cuda//cuda:build_defs.bzl", "cuda_library") load( "@local_config_rocm//rocm:build_defs.bzl", @@ -538,6 +539,12 @@ cc_library( ], ) +# TODO(b/244780257): Remove this config. +bool_flag( + name = "enable_xlir", + build_setting_default = if_google(True, False), +) + cc_library( name = "gpu_executable", srcs = [