This repository was archived by the owner on Sep 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ function install_tf() {
88
88
# # ------------------------------------------------
89
89
if [ " $DISTRO " = " UBUNTU" ]; then
90
90
MAJOR_VER=$( echo " $DISTRO_VER " | cut -d ' .' -f 1)
91
-
91
+ MINOR_VER= $( echo " $DISTRO_VER " | cut -d ' . ' -f 2 )
92
92
# Fix for LLVM-3.7 on Ubuntu 14 + 17
93
93
if [ " $MAJOR_VER " == " 14" -o " $MAJOR_VER " == " 17" ]; then
94
94
if [ " $MAJOR_VER " == " 14" ]; then
@@ -132,7 +132,11 @@ if [ "$DISTRO" = "UBUNTU" ]; then
132
132
PKG_LLVM=" llvm-3.9"
133
133
PKG_CLANG=" clang-3.8"
134
134
TF_VERSION=" 1.5.0"
135
- TFBinaryURL=" https://storage.googleapis.com/tensorflow/linux/${TF_TYPE} /tensorflow-${TF_VERSION} -cp36-cp36m-linux_x86_64.whl"
135
+ if [ " $MINOR_VER " == " 10" ]; then
136
+ TFBinaryURL=" https://storage.googleapis.com/tensorflow/linux/${TF_TYPE} /tensorflow-${TF_VERSION} -cp36-cp36m-linux_x86_64.whl"
137
+ elif [ " $MINOR_VER " == " 04" ]; then
138
+ TFBinaryURL=" https://storage.googleapis.com/tensorflow/linux/${TF_TYPE} /tensorflow-${TF_VERSION} -cp35-cp35m-linux_x86_64.whl"
139
+ fi
136
140
fi
137
141
TFCApiFile=" libtensorflow-${TF_TYPE} -linux-x86_64-${TF_VERSION} .tar.gz"
138
142
LinkerConfigCmd=" sudo ldconfig"
You can’t perform that action at this time.
0 commit comments