Add a config setting to exclude xla from tensorflow_opensource target.
PiperOrigin-RevId: 225296419
This commit is contained in:
parent
5ce09c9962
commit
306cf4b283
@ -267,6 +267,15 @@ config_setting(
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
# By default, XLA GPU is compiled into tensorflow when building with
|
||||
# --config=cuda even when `with_xla_support` is false. The config setting
|
||||
# here allows us to override the behavior if needed.
|
||||
config_setting(
|
||||
name = "no_xla_deps_in_cuda",
|
||||
define_values = {"no_xla_deps_in_cuda": "true"},
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "with_gdr_support",
|
||||
define_values = {"with_gdr_support": "true"},
|
||||
|
Loading…
Reference in New Issue
Block a user