Geoffrey Irving | 4c85a08 | 2016-03-16 12:20:34 -0800 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 2 | |
A. Unique TensorFlower | edaf3b3 | 2016-10-10 10:26:22 -0800 | [diff] [blame] | 3 | set -e |
4 | set -o pipefail | ||||
5 | |||||
Vijay Vasudevan | 62de0b9 | 2017-07-25 18:41:40 -0700 | [diff] [blame] | 6 | if [ -z "$PYTHON_BIN_PATH" ]; then |
flyingcat | 5ba24e7 | 2020-04-12 22:04:24 +0800 | [diff] [blame] | 7 | PYTHON_BIN_PATH=$(which python3 || which python || true) |
A. Unique TensorFlower | abe0877 | 2017-06-07 11:34:47 -0700 | [diff] [blame] | 8 | fi |
9 | |||||
Vijay Vasudevan | 62de0b9 | 2017-07-25 18:41:40 -0700 | [diff] [blame] | 10 | # Set all env variables |
Michael Case | 671baf0 | 2018-02-21 20:39:21 -0800 | [diff] [blame] | 11 | CONFIGURE_DIR=$(dirname "$0") |
12 | "$PYTHON_BIN_PATH" "${CONFIGURE_DIR}/configure.py" "$@" | ||||
A. Unique TensorFlower | ccbc899 | 2017-04-04 16:10:08 -0800 | [diff] [blame] | 13 | |
Yun Peng | a4a3a33 | 2017-07-27 20:09:24 +0200 | [diff] [blame] | 14 | echo "Configuration finished" |
Andrew Harp | 51dbc46 | 2017-01-27 14:42:30 -0800 | [diff] [blame] | 15 |