From f3fab7c406428486ae1edabf390534d1862ba2b6 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Thu, 20 Jun 2019 11:19:00 -0700 Subject: [PATCH] Link in XLA for open source OSX builds by default PiperOrigin-RevId: 254235029 --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index a475c026308..55d7897a973 100644 --- a/configure.py +++ b/configure.py @@ -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')