|
38 | 38 | unset UNAME
|
39 | 39 | DISTRO=$(echo $DISTRO | tr "[:lower:]" "[:upper:]")
|
40 | 40 | TMPDIR=/tmp
|
41 |
| -TF_VERSION="1.4.0" |
42 | 41 | TF_TYPE="cpu"
|
43 | 42 |
|
44 | 43 |
|
@@ -115,20 +114,24 @@ if [ "$DISTRO" = "UBUNTU" ]; then
|
115 | 114 | PKG_CMAKE="cmake"
|
116 | 115 | PKG_LLVM="llvm-3.7"
|
117 | 116 | PKG_CLANG="clang-3.7"
|
| 117 | + TF_VERSION="1.4.0" |
118 | 118 |
|
119 | 119 | # Fix for cmake name change on Ubuntu 14.x and 16.x plus --force-yes deprecation
|
120 | 120 | if [ "$MAJOR_VER" == "14" ]; then
|
121 | 121 | PKG_CMAKE="cmake3"
|
122 | 122 | FORCE_Y="--force-yes"
|
| 123 | + TF_VERSION="1.4.0" |
123 | 124 | TFBinaryURL="https://storage.googleapis.com/tensorflow/linux/${TF_TYPE}/tensorflow-${TF_VERSION}-cp34-cp34m-linux_x86_64.whl"
|
124 | 125 | fi
|
125 | 126 | if [ "$MAJOR_VER" == "16" ]; then
|
| 127 | + TF_VERSION="1.5.0" |
126 | 128 | TFBinaryURL="https://storage.googleapis.com/tensorflow/linux/${TF_TYPE}/tensorflow-${TF_VERSION}-cp35-cp35m-linux_x86_64.whl"
|
127 | 129 | fi
|
128 | 130 | # Fix for llvm on Ubuntu 17.x
|
129 | 131 | if [ "$MAJOR_VER" == "17" ]; then
|
130 | 132 | PKG_LLVM="llvm-3.9"
|
131 | 133 | PKG_CLANG="clang-3.8"
|
| 134 | + TF_VERSION="1.5.0" |
132 | 135 | TFBinaryURL="https://storage.googleapis.com/tensorflow/linux/${TF_TYPE}/tensorflow-${TF_VERSION}-cp35-cp35m-linux_x86_64.whl"
|
133 | 136 | fi
|
134 | 137 | TFCApiFile="libtensorflow-${TF_TYPE}-linux-x86_64-${TF_VERSION}.tar.gz"
|
@@ -201,6 +204,7 @@ elif [[ "$DISTRO" == *"FEDORA"* ]]; then
|
201 | 204 | 26) LLVM="llvm";;
|
202 | 205 | *) LLVM="llvm4.0";;
|
203 | 206 | esac
|
| 207 | + TF_VERSION="1.5.0" |
204 | 208 | TFCApiFile="libtensorflow-${TF_TYPE}-linux-x86_64-${TF_VERSION}.tar.gz"
|
205 | 209 | TFBinaryURL="https://storage.googleapis.com/tensorflow/linux/${TF_TYPE}/tensorflow-${TF_VERSION}-cp36-cp36m-linux_x86_64.whl"
|
206 | 210 | LinkerConfigCmd="sudo ldconfig"
|
@@ -316,6 +320,7 @@ elif [ "$DISTRO" = "DARWIN" ]; then
|
316 | 320 | echo "Installing homebrew..."
|
317 | 321 | ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
318 | 322 | fi
|
| 323 | + TF_VERSION="1.4.0" |
319 | 324 | TFBinaryURL="https://storage.googleapis.com/tensorflow/mac/${TF_TYPE}/tensorflow-${TF_VERSION}-py3-none-any.whl"
|
320 | 325 | TFCApiFile="libtensorflow-${TF_TYPE}-darwin-x86_64-${TF_VERSION}.tar.gz"
|
321 | 326 | LinkerConfigCmd="sudo update_dyld_shared_cache"
|
|
0 commit comments