blob: e43908e39da0cc573365e8c0058a3522d47fd0a9 [file] [log] [blame]
Geoffrey Irving4c85a082016-03-16 12:20:34 -08001#!/usr/bin/env bash
Manjunath Kudlurf41959c2015-11-06 16:27:58 -08002
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -08003set -e
4set -o pipefail
5
Vijay Vasudevan62de0b92017-07-25 18:41:40 -07006if [ -z "$PYTHON_BIN_PATH" ]; then
flyingcat5ba24e72020-04-12 22:04:24 +08007 PYTHON_BIN_PATH=$(which python3 || which python || true)
A. Unique TensorFlowerabe08772017-06-07 11:34:47 -07008fi
9
Vijay Vasudevan62de0b92017-07-25 18:41:40 -070010# Set all env variables
Michael Case671baf02018-02-21 20:39:21 -080011CONFIGURE_DIR=$(dirname "$0")
12"$PYTHON_BIN_PATH" "${CONFIGURE_DIR}/configure.py" "$@"
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -080013
Yun Penga4a3a332017-07-27 20:09:24 +020014echo "Configuration finished"
Andrew Harp51dbc462017-01-27 14:42:30 -080015