Link in XLA for open source OSX builds by default

PiperOrigin-RevId: 254235029
This commit is contained in:
Sanjoy Das 2019-06-20 11:19:00 -07:00 committed by TensorFlower Gardener
parent a2742882bb
commit f3fab7c406

View File

@ -1426,7 +1426,7 @@ def main():
if is_ppc64le():
write_action_env_to_bazelrc('OMP_NUM_THREADS', 1)
xla_enabled_by_default = is_linux()
xla_enabled_by_default = is_linux() or is_macos()
set_build_var(environ_cp, 'TF_ENABLE_XLA', 'XLA JIT', 'with_xla_support',
xla_enabled_by_default, 'xla')