Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.12-rc0 cherry-pick request: Disable XLA for Android builds. #22704

Merged
merged 2 commits into from
Oct 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions tensorflow/tools/ci_build/builds/configured
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ COMMAND=("$@")

export CI_BUILD_PYTHON="${CI_BUILD_PYTHON:-python}"
export PYTHON_BIN_PATH="${PYTHON_BIN_PATH:-$(which ${CI_BUILD_PYTHON})}"
# XLA currently does not build under Android, so disable it for now.
if [[ "${CONTAINER_TYPE}" -eq 'android' ]]; then
export TF_ENABLE_XLA=0
fi

pushd "${CI_TENSORFLOW_SUBMODULE_PATH:-.}"
yes "" | $PYTHON_BIN_PATH configure.py
Expand Down