add alwayslink=1 to xla ops kernels

PiperOrigin-RevId: 360380095
Change-Id: I9fbf9dd018d2e9a792083fbf4e7d0d6a52e62422
This commit is contained in:
A. Unique TensorFlower 2021-03-02 01:57:43 -08:00 committed by TensorFlower Gardener
parent 62c62fafaf
commit 62dfa9e1bf

View File

@ -297,6 +297,7 @@ cc_library(
# Public visibility is needed for external TF/XLA backends.
visibility = ["//visibility:public"],
deps = XLA_DEVICE_DEPS + [":xla_compilation_cache"],
alwayslink = 1,
)
cc_library(