mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Link in XLA for open source OSX builds by default
PiperOrigin-RevId: 254235029
This commit is contained in:
parent
a2742882bb
commit
f3fab7c406
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user