Don't enable the XLA Python --enable_tpu flag when building with --enable_tpu.

This flag no longer does anything in XLA.

PiperOrigin-RevId: 559237161
This commit is contained in:
Peter Hawkins 2023-08-22 15:12:03 -07:00 committed by jax authors
parent 6670ea46d9
commit 64d0a36eab

View File

@ -40,7 +40,6 @@ build --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir.
# Later Bazel flag values override earlier values; if CUDA/ROCM/TPU are enabled,
# these values are overridden.
build --@xla//xla/python:enable_gpu=false
build --@xla//xla/python:enable_tpu=false
###########################################################################
@ -117,7 +116,6 @@ build:macos --config=posix
# Suppress all warning messages.
build:short_logs --output_filter=DONT_MATCH_ANYTHING
build:tpu --@xla//xla/python:enable_tpu=true
build:tpu --define=with_tpu_support=true
#########################################################################