Partial rollback of 296819597
Remove the prompt for XLA in configure. But still allow users to build without it for platforms like raspberry pi.
PiperOrigin-RevId: 297713015
Change-Id: I7a12b073389c1cf3d265e00952f28e98470c80ff
diff --git a/configure.py b/configure.py
index 7f1a728..b93612a 100644
--- a/configure.py
+++ b/configure.py
@@ -1390,6 +1390,9 @@
else:
environ_cp['TF_CONFIGURE_IOS'] = '0'
+ if environ_cp.get('TF_ENABLE_XLA', 1):
+ write_to_bazelrc('build --config=xla')
+
set_action_env_var(
environ_cp,
'TF_NEED_OPENCL_SYCL',