blob: dcdbff23b54b3b7cb9bbe476377b2a2882ee0c8f [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
Andrew Selle09045e42016-09-06 08:19:04 -08006# Find out the absolute path to where ./configure resides
7pushd `dirname $0` #> /dev/null
8SOURCE_BASE_DIR=`pwd -P`
9popd > /dev/null
10
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -080011PLATFORM="$(uname -s | tr 'A-Z' 'a-z')"
12function is_windows() {
13 # On windows, the shell script is actually running in msys
14 if [[ "${PLATFORM}" =~ msys_nt* ]]; then
15 true
16 else
17 false
18 fi
19}
20
Jonathan Hseu1283b842016-09-29 15:05:32 -080021function bazel_clean_and_fetch() {
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -080022 # bazel clean --expunge currently doesn't work on Windows
23 # TODO(pcloudy): Re-enable it after bazel clean --expunge is fixed.
24 if ! is_windows; then
25 bazel clean --expunge
26 fi
Jonathan Hseu1283b842016-09-29 15:05:32 -080027 bazel fetch //tensorflow/...
28}
29
Vijay Vasudevanbf6b5362015-12-02 15:04:40 -080030## Set up python-related environment settings
31while true; do
32 fromuser=""
33 if [ -z "$PYTHON_BIN_PATH" ]; then
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -080034 default_python_bin_path=$(which python || which python3 || true)
Vijay Vasudevanbf6b5362015-12-02 15:04:40 -080035 read -p "Please specify the location of python. [Default is $default_python_bin_path]: " PYTHON_BIN_PATH
36 fromuser="1"
37 if [ -z "$PYTHON_BIN_PATH" ]; then
38 PYTHON_BIN_PATH=$default_python_bin_path
39 fi
40 fi
41 if [ -e "$PYTHON_BIN_PATH" ]; then
42 break
43 fi
44 echo "Invalid python path. ${PYTHON_BIN_PATH} cannot be found" 1>&2
45 if [ -z "$fromuser" ]; then
46 exit 1
47 fi
48 PYTHON_BIN_PATH=""
49 # Retry
50done
51
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -080052if is_windows; then
53 TF_NEED_GCP=0
54 TF_NEED_HDFS=0
55 TF_NEED_CUDA=0
56fi
57
A. Unique TensorFlowered65e692016-05-11 21:03:48 -080058while [ "$TF_NEED_GCP" == "" ]; do
59 read -p "Do you wish to build TensorFlow with "\
60"Google Cloud Platform support? [y/N] " INPUT
61 case $INPUT in
62 [Yy]* ) echo "Google Cloud Platform support will be enabled for "\
63"TensorFlow"; TF_NEED_GCP=1;;
64 [Nn]* ) echo "No Google Cloud Platform support will be enabled for "\
65"TensorFlow"; TF_NEED_GCP=0;;
66 "" ) echo "No Google Cloud Platform support will be enabled for "\
67"TensorFlow"; TF_NEED_GCP=0;;
68 * ) echo "Invalid selection: " $INPUT;;
69 esac
70done
71
72if [ "$TF_NEED_GCP" == "1" ]; then
A. Unique TensorFlowered65e692016-05-11 21:03:48 -080073 ## Verify that libcurl header files are available.
74 # Only check Linux, since on MacOS the header files are installed with XCode.
75 if [[ $(uname -a) =~ Linux ]] && [[ ! -f "/usr/include/curl/curl.h" ]]; then
76 echo "ERROR: It appears that the development version of libcurl is not "\
77"available. Please install the libcurl3-dev package."
78 exit 1
79 fi
80
81 # Update Bazel build configuration.
82 perl -pi -e "s,WITH_GCP_SUPPORT = (False|True),WITH_GCP_SUPPORT = True,s" tensorflow/core/platform/default/build_config.bzl
83else
84 # Update Bazel build configuration.
85 perl -pi -e "s,WITH_GCP_SUPPORT = (False|True),WITH_GCP_SUPPORT = False,s" tensorflow/core/platform/default/build_config.bzl
86fi
87
Jonathan Hseu9f5b0982016-09-19 11:14:58 -080088while [ "$TF_NEED_HDFS" == "" ]; do
89 read -p "Do you wish to build TensorFlow with "\
90"Hadoop File System support? [y/N] " INPUT
91 case $INPUT in
92 [Yy]* ) echo "Hadoop File System support will be enabled for "\
93"TensorFlow"; TF_NEED_HDFS=1;;
94 [Nn]* ) echo "No Hadoop File System support will be enabled for "\
95"TensorFlow"; TF_NEED_HDFS=0;;
96 "" ) echo "No Hadoop File System support will be enabled for "\
97"TensorFlow"; TF_NEED_HDFS=0;;
98 * ) echo "Invalid selection: " $INPUT;;
99 esac
100done
101
102if [ "$TF_NEED_HDFS" == "1" ]; then
103 # Update Bazel build configuration.
104 perl -pi -e "s,WITH_HDFS_SUPPORT = (False|True),WITH_HDFS_SUPPORT = True,s" tensorflow/core/platform/default/build_config.bzl
105else
106 # Update Bazel build configuration.
107 perl -pi -e "s,WITH_HDFS_SUPPORT = (False|True),WITH_HDFS_SUPPORT = False,s" tensorflow/core/platform/default/build_config.bzl
108fi
109
Vijay Vasudevanbf6b5362015-12-02 15:04:40 -0800110# Invoke python_config and set up symlinks to python includes
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800111./util/python/python_config.sh --setup "$PYTHON_BIN_PATH"
Vijay Vasudevanbf6b5362015-12-02 15:04:40 -0800112
Andrew Selle09045e42016-09-06 08:19:04 -0800113# Run the gen_git_source to create links where bazel can track dependencies for
114# git hash propagation
115GEN_GIT_SOURCE=tensorflow/tools/git/gen_git_source.py
116chmod a+x ${GEN_GIT_SOURCE}
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -0800117"${PYTHON_BIN_PATH}" ${GEN_GIT_SOURCE} --configure "${SOURCE_BASE_DIR}"
Andrew Selle09045e42016-09-06 08:19:04 -0800118
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800119## Set up Cuda-related environment settings
120
121while [ "$TF_NEED_CUDA" == "" ]; do
Vijay Vasudevanbf6b5362015-12-02 15:04:40 -0800122 read -p "Do you wish to build TensorFlow with GPU support? [y/N] " INPUT
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800123 case $INPUT in
Vijay Vasudevanbf6b5362015-12-02 15:04:40 -0800124 [Yy]* ) echo "GPU support will be enabled for TensorFlow"; TF_NEED_CUDA=1;;
125 [Nn]* ) echo "No GPU support will be enabled for TensorFlow"; TF_NEED_CUDA=0;;
126 "" ) echo "No GPU support will be enabled for TensorFlow"; TF_NEED_CUDA=0;;
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800127 * ) echo "Invalid selection: " $INPUT;;
128 esac
129done
130
A. Unique TensorFlower2c598e82016-08-25 10:22:44 -0800131export TF_NEED_CUDA
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800132if [ "$TF_NEED_CUDA" == "0" ]; then
133 echo "Configuration finished"
Jonathan Hseu1283b842016-09-29 15:05:32 -0800134 bazel_clean_and_fetch
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800135 exit
136fi
137
Vijay Vasudevan80a5a3e2016-03-29 18:23:11 -0800138# Set up which gcc nvcc should use as the host compiler
139while true; do
140 fromuser=""
141 if [ -z "$GCC_HOST_COMPILER_PATH" ]; then
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800142 default_gcc_host_compiler_path=$(which gcc || true)
Shanqing Caia81c4f92016-07-22 10:37:35 -0800143 read -p "Please specify which gcc should be used by nvcc as the host compiler. [Default is $default_gcc_host_compiler_path]: " GCC_HOST_COMPILER_PATH
Vijay Vasudevan80a5a3e2016-03-29 18:23:11 -0800144 fromuser="1"
145 if [ -z "$GCC_HOST_COMPILER_PATH" ]; then
146 GCC_HOST_COMPILER_PATH=$default_gcc_host_compiler_path
147 fi
148 fi
149 if [ -e "$GCC_HOST_COMPILER_PATH" ]; then
A. Unique TensorFlowerb0bdff42016-08-26 12:50:48 -0800150 export GCC_HOST_COMPILER_PATH
Vijay Vasudevan80a5a3e2016-03-29 18:23:11 -0800151 break
152 fi
153 echo "Invalid gcc path. ${GCC_HOST_COMPILER_PATH} cannot be found" 1>&2
154 if [ -z "$fromuser" ]; then
155 exit 1
156 fi
157 GCC_HOST_COMPILER_PATH=""
158 # Retry
159done
160
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800161# Find out where the CUDA toolkit is installed
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800162OSNAME=`uname -s`
163
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800164while true; do
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800165 # Configure the Cuda SDK version to use.
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800166 if [ -z "$TF_CUDA_VERSION" ]; then
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800167 read -p "Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: " TF_CUDA_VERSION
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800168 fi
169
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800170 fromuser=""
171 if [ -z "$CUDA_TOOLKIT_PATH" ]; then
172 default_cuda_path=/usr/local/cuda
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800173 read -p "Please specify the location where CUDA $TF_CUDA_VERSION toolkit is installed. Refer to README.md for more details. [Default is $default_cuda_path]: " CUDA_TOOLKIT_PATH
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800174 fromuser="1"
175 if [ -z "$CUDA_TOOLKIT_PATH" ]; then
176 CUDA_TOOLKIT_PATH=$default_cuda_path
177 fi
178 fi
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800179
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800180 if [[ -z "$TF_CUDA_VERSION" ]]; then
181 TF_CUDA_EXT=""
182 else
183 TF_CUDA_EXT=".$TF_CUDA_VERSION"
184 fi
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800185
186 if [ "$OSNAME" == "Linux" ]; then
187 CUDA_RT_LIB_PATH="lib64/libcudart.so${TF_CUDA_EXT}"
188 elif [ "$OSNAME" == "Darwin" ]; then
189 CUDA_RT_LIB_PATH="lib/libcudart${TF_CUDA_EXT}.dylib"
190 fi
191
192 if [ -e "${CUDA_TOOLKIT_PATH}/${CUDA_RT_LIB_PATH}" ]; then
A. Unique TensorFlower2c598e82016-08-25 10:22:44 -0800193 export CUDA_TOOLKIT_PATH
A. Unique TensorFlowerb0bdff42016-08-26 12:50:48 -0800194 export TF_CUDA_VERSION
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800195 break
196 fi
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800197 echo "Invalid path to CUDA $TF_CUDA_VERSION toolkit. ${CUDA_TOOLKIT_PATH}/${CUDA_RT_LIB_PATH} cannot be found"
198
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800199 if [ -z "$fromuser" ]; then
200 exit 1
201 fi
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800202 # Retry
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800203 TF_CUDA_VERSION=""
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800204 CUDA_TOOLKIT_PATH=""
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800205done
206
Martin Wicke916776a2016-01-14 07:30:00 -0800207# Find out where the cuDNN library is installed
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800208while true; do
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800209 # Configure the Cudnn version to use.
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800210 if [ -z "$TF_CUDNN_VERSION" ]; then
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800211 read -p "Please specify the Cudnn version you want to use. [Leave empty to use system default]: " TF_CUDNN_VERSION
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800212 fi
213
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800214 fromuser=""
215 if [ -z "$CUDNN_INSTALL_PATH" ]; then
216 default_cudnn_path=${CUDA_TOOLKIT_PATH}
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800217 read -p "Please specify the location where cuDNN $TF_CUDNN_VERSION library is installed. Refer to README.md for more details. [Default is $default_cudnn_path]: " CUDNN_INSTALL_PATH
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800218 fromuser="1"
219 if [ -z "$CUDNN_INSTALL_PATH" ]; then
220 CUDNN_INSTALL_PATH=$default_cudnn_path
221 fi
222 # Result returned from "read" will be used unexpanded. That make "~" unuseable.
223 # Going through one more level of expansion to handle that.
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800224 CUDNN_INSTALL_PATH=`${PYTHON_BIN_PATH} -c "import os; print(os.path.realpath(os.path.expanduser('${CUDNN_INSTALL_PATH}')))"`
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800225 fi
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800226
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800227 if [[ -z "$TF_CUDNN_VERSION" ]]; then
228 TF_CUDNN_EXT=""
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800229 cudnn_lib_path=""
230 cudnn_alt_lib_path=""
231 if [ "$OSNAME" == "Linux" ]; then
232 cudnn_lib_path="${CUDNN_INSTALL_PATH}/lib64/libcudnn.so"
233 cudnn_alt_lib_path="${CUDNN_INSTALL_PATH}/libcudnn.so"
234 elif [ "$OSNAME" == "Darwin" ]; then
235 cudnn_lib_path="${CUDNN_INSTALL_PATH}/lib/libcudnn.dylib"
236 cudnn_alt_lib_path="${CUDNN_INSTALL_PATH}/libcudnn.dylib"
237 fi
A. Unique TensorFlower533d8912016-06-30 12:10:50 -0800238 # Resolve to the SONAME of the symlink. Use readlink without -f
239 # to resolve exactly once to the SONAME. E.g, libcudnn.so ->
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800240 # libcudnn.so.4.
241 # If the path is not a symlink, readlink will exit with an error code, so
242 # in that case, we return the path itself.
243 if [ -f "$cudnn_lib_path" ]; then
244 REALVAL=`readlink ${cudnn_lib_path} || echo "${cudnn_lib_path}"`
245 else
246 REALVAL=`readlink ${cudnn_alt_lib_path} || echo "${cudnn_alt_lib_path}"`
247 fi
A. Unique TensorFlower533d8912016-06-30 12:10:50 -0800248
249 # Extract the version of the SONAME, if it was indeed symlinked to
250 # the SONAME version of the file.
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800251 if [[ "$REALVAL" =~ .so[.]+([0-9]*) ]]; then
A. Unique TensorFlower533d8912016-06-30 12:10:50 -0800252 TF_CUDNN_EXT="."${BASH_REMATCH[1]}
253 TF_CUDNN_VERSION=${BASH_REMATCH[1]}
254 echo "libcudnn.so resolves to libcudnn${TF_CUDNN_EXT}"
A. Unique TensorFloweredaf3b32016-10-10 10:26:22 -0800255 elif [[ "$REALVAL" =~ ([0-9]*).dylib ]]; then
256 TF_CUDNN_EXT=${BASH_REMATCH[1]}".dylib"
257 TF_CUDNN_VERSION=${BASH_REMATCH[1]}
258 echo "libcudnn.dylib resolves to libcudnn${TF_CUDNN_EXT}"
A. Unique TensorFlower533d8912016-06-30 12:10:50 -0800259 fi
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800260 else
261 TF_CUDNN_EXT=".$TF_CUDNN_VERSION"
262 fi
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800263
264 if [ "$OSNAME" == "Linux" ]; then
265 CUDA_DNN_LIB_PATH="lib64/libcudnn.so${TF_CUDNN_EXT}"
266 CUDA_DNN_LIB_ALT_PATH="libcudnn.so${TF_CUDNN_EXT}"
267 elif [ "$OSNAME" == "Darwin" ]; then
Patrick Nguyenc5ab3dd2016-10-20 12:09:18 -0800268 CUDA_DNN_LIB_PATH="lib/libcudnn${TF_CUDNN_EXT}"
269 CUDA_DNN_LIB_ALT_PATH="libcudnn${TF_CUDNN_EXT}"
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800270 fi
271
272 if [ -e "$CUDNN_INSTALL_PATH/${CUDA_DNN_LIB_ALT_PATH}" -o -e "$CUDNN_INSTALL_PATH/${CUDA_DNN_LIB_PATH}" ]; then
A. Unique TensorFlowerb0bdff42016-08-26 12:50:48 -0800273 export TF_CUDNN_VERSION
A. Unique TensorFlower2c598e82016-08-25 10:22:44 -0800274 export CUDNN_INSTALL_PATH
Eugene Brevdo56f1d642016-03-10 17:18:30 -0800275 break
276 fi
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800277
278 if [ "$OSNAME" == "Linux" ]; then
279 CUDNN_PATH_FROM_LDCONFIG="$(ldconfig -p | sed -n 's/.*libcudnn.so .* => \(.*\)/\1/p')"
280 if [ -e "${CUDNN_PATH_FROM_LDCONFIG}${TF_CUDNN_EXT}" ]; then
A. Unique TensorFlowerb0bdff42016-08-26 12:50:48 -0800281 export TF_CUDNN_VERSION
A. Unique TensorFlower2c598e82016-08-25 10:22:44 -0800282 export CUDNN_INSTALL_PATH="$(dirname ${CUDNN_PATH_FROM_LDCONFIG})"
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800283 break
284 fi
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800285 fi
A. Unique TensorFlower8bf6ef12016-05-05 08:36:05 -0800286 echo "Invalid path to cuDNN ${CUDNN_VERSION} toolkit. Neither of the following two files can be found:"
287 echo "${CUDNN_INSTALL_PATH}/${CUDA_DNN_LIB_PATH}"
288 echo "${CUDNN_INSTALL_PATH}/${CUDA_DNN_LIB_ALT_PATH}"
289 if [ "$OSNAME" == "Linux" ]; then
290 echo "${CUDNN_PATH_FROM_LDCONFIG}${TF_CUDNN_EXT}"
291 fi
292
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800293 if [ -z "$fromuser" ]; then
294 exit 1
295 fi
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800296 # Retry
A. Unique TensorFlower8a597482016-01-29 09:34:18 -0800297 TF_CUDNN_VERSION=""
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800298 CUDNN_INSTALL_PATH=""
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800299done
300
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800301# Configure the compute capabilities that TensorFlow builds for.
302# Since Cuda toolkit is not backward-compatible, this is not guaranteed to work.
303while true; do
304 fromuser=""
A. Unique TensorFlower2c598e82016-08-25 10:22:44 -0800305 default_cuda_compute_capabilities="3.5,5.2"
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800306 if [ -z "$TF_CUDA_COMPUTE_CAPABILITIES" ]; then
Vijay Vasudevan4dffee72015-11-12 11:27:00 -0800307cat << EOF
308Please specify a list of comma-separated Cuda compute capabilities you want to build with.
309You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.
310Please note that each additional compute capability significantly increases your build time and binary size.
311EOF
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800312 read -p "[Default is: \"3.5,5.2\"]: " TF_CUDA_COMPUTE_CAPABILITIES
313 fromuser=1
314 fi
A. Unique TensorFlower2c598e82016-08-25 10:22:44 -0800315 if [ -z "$TF_CUDA_COMPUTE_CAPABILITIES" ]; then
316 TF_CUDA_COMPUTE_CAPABILITIES=$default_cuda_compute_capabilities
317 fi
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800318 # Check whether all capabilities from the input is valid
319 COMPUTE_CAPABILITIES=${TF_CUDA_COMPUTE_CAPABILITIES//,/ }
320 ALL_VALID=1
321 for CAPABILITY in $COMPUTE_CAPABILITIES; do
322 if [[ ! "$CAPABILITY" =~ [0-9]+.[0-9]+ ]]; then
323 echo "Invalid compute capability: " $CAPABILITY
324 ALL_VALID=0
Vijay Vasudevan4dffee72015-11-12 11:27:00 -0800325 break
326 fi
Vijay Vasudevan4dffee72015-11-12 11:27:00 -0800327 done
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800328 if [ "$ALL_VALID" == "0" ]; then
329 if [ -z "$fromuser" ]; then
330 exit 1
331 fi
332 else
A. Unique TensorFlowerb0bdff42016-08-26 12:50:48 -0800333 export TF_CUDA_COMPUTE_CAPABILITIES
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800334 break
Vijay Vasudevan4dffee72015-11-12 11:27:00 -0800335 fi
Vijay Vasudevanfe056f02016-02-17 11:42:30 -0800336 TF_CUDA_COMPUTE_CAPABILITIES=""
337done
Vijay Vasudevan4dffee72015-11-12 11:27:00 -0800338
Jonathan Hseu1283b842016-09-29 15:05:32 -0800339bazel_clean_and_fetch
Manjunath Kudlurf41959c2015-11-06 16:27:58 -0800340
341echo "Configuration finished"